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 trialAvelino Tiu
4,894 PointsGit Challenge task 3 of 11
I'm really not sure what I'm missing here. The challenge:
And now that it's been added to the repository, let's commit it.
so i typed in:
git commit -m "test" index.html
I always get this error:
Bummer! Remember to put your commit message in quotes. Try again
It's already in quotes.
Is this a bug?
Thanks
2 Answers
Dustin Matlock
33,856 PointsHi Avelino, since you're already working with the project, you should be able to commit it with:
git commit -m "test"
Avelino Tiu
4,894 Pointswow that worked! thanks Dustin.
though i think it doesn't make any sense.. afaik, you have to specify the filename, otherwise you use the flag -am to commit ALL.
and i think the error was misleading: "Bummer! Remember to put your commit message in quotes. Try again"
and got a weird result, with the answer you provided:
http://i.imgur.com/XTIQHGk.png
But, all good! I can now proceed..
THanks much
Avelino Tiu
4,894 PointsAvelino Tiu
4,894 Pointshere's a screenshot: http://i.imgur.com/9NxqcAK.png