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

Alexandra Spalato
Alexandra Spalato
11,478 Points

stucked on git challenge

I don't find the answer on "an old fashioned git together"; challenge 7 i add: git commit -a -m "message" to commit all the changes, but don't work :-(

7 Answers

Have you tried left out '-a' and just used git commit -m "message"?

Just recap this challenge and hopefully this can help you out: http://postimg.org/image/xafbr3frz/

thank you Yueh-Wen Cheng, I kept trying to add the -a, and i tried with -m but maybe forgot a message it helped me. thanks

Jay Robohn
PLUS
Jay Robohn
Courses Plus Student 1,387 Points

At that point, you do not need the -a switch, because you've already added the new file (About.html) and the modified one (index.html) to the staging area.

Alexandra Spalato
Alexandra Spalato
11,478 Points

yes i have tried all the possible combinations and nothing works :-(

Can you be more specific about which the challenge are you at? i.e. which session of Git Basics

Eivind Jonassen
Eivind Jonassen
5,994 Points

Yueh-Wen Cheng, you are the man! Love you :)