Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Jon Mullins
Jon Mullins
15,724 Points

We have multiple files in our directory that we want to track. Add them all with one command. Nothing I try is working

In the code challenge here https://teamtreehouse.com/library/github-basics/working-by-yourself/push-to-github-test I've tried git add -all ... git add -a ... git add -A ... git add * ... git add . ... and git add README.md ... and git add readme.md, and I receive the error "Bummer! Remember that we need to add the README.md file." I believe this challenge is broken.

5 Answers

Jon Mullins
Jon Mullins
15,724 Points

OK I tried git add . again and it worked

Mark Casavantes
PLUS
Mark Casavantes
Courses Plus Student 13,401 Points

I was having trouble with this answer. I notice that Jon has a space between add and his period (git add .) . I was answering the question with git add. without a space. I hope this clears up problems anyone was having.

I tried git add. and git add . but still get bummer! smh

git add . this solves the problem

Answer: git add .

( you must have a space, followed by a period )