Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Jonathan Musso
3,760 PointsGIT QUIZ: We just made some more changes to that same README.md file - go ahead and commit those changes. Is this a bug?
We just made some more changes to that same README.md file - go ahead and commit those changes.
I am entering :
> git commit -a -m README.md "some changes"
And I keep getting this error.
"Bummer! Remember to put your commit message in quotes."
2 Answers

Aaron Graham
18,033 Pointsthe -a flag adds all the files that have changed to the commit. The -m flag should be immediately followed by your message. Try leaving out the README.md part of your command.

Dan Johnson
9,385 PointsShouldn't git commit -am "some message"
also be a valid answer?

geoffrey
28,724 PointsIt should be considered as valid but the exercise doesn't valid it....
Jonathan Musso
3,760 PointsJonathan Musso
3,760 PointsAaron Graham I just tried that.
git commit -a "some changes" -m
returned
Bummer! Remember that we want to commit all of the changes we made to tracked files; there's a flag for that. And don't forget a commit message!
Aaron Graham
18,033 PointsAaron Graham
18,033 PointsJonathan Musso - You are really close. The -m flag needs to be followed by the message. Try this:
git commit -a -m "some changes"
Jonathan Musso
3,760 PointsJonathan Musso
3,760 PointsThank you! By message I thought you were talking about the string.
Aaron Graham
18,033 PointsAaron Graham
18,033 PointsJonathan Musso - Any time! I guess I could have been more clear. Glad you got it!