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 trialJason Peay
16,515 PointsHow to add multiple files to Git
Hello
I'm stuck on a code challenge.
We have multiple files in our directory that we want to track. Add them all with one command. I'm sure the correct answer is git add.README.md.
I received, Bummer! remember that we must add a README file I tried just git add. but got the same. Bummer, remember that we must add a README file
What am I missing?
Kevin Korte
28,149 PointsNo problem, you're learning and that's all that matters.
1 Answer
Kevin Korte
28,149 PointsTypically, you can all all staged all modified and new files to be staged with either git add .
or git add -A
.
Jason Peay
16,515 PointsJason Peay
16,515 PointsThank you Kevin.
I didn't know there had to be a space between git add and the dot at the end. No one else mentioned that when I sent the challenge out the first time.