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.

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