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 trialJonathan Ssenkooto
8,232 PointsTask 7 out of 11
What I am doing wrong? I answered with the git commit -a -m "Added changes to the repository". it say it is a wrong command. I even rewatched the video a few times and still did not help.
2 Answers
Bekah McDonald
10,527 PointsHi Jonathan
When you commit, you don't need to use -a
.
git commit
will commit ALL staged changes, so you can just use git commit -m
followed by your message.
Does this help?
Jonathan Ssenkooto
8,232 PointsThanks. I will try that method.