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

Development Tools

Avelino Tiu
Avelino Tiu
4,894 Points

Git 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

Hi Avelino, since you're already working with the project, you should be able to commit it with:

git commit -m "test"
Avelino Tiu
Avelino Tiu
4,894 Points

wow 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