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 Git Basics Getting Started With Git Staging Our Changes

Corey Gibson
PLUS
Corey Gibson
Courses Plus Student 4,044 Points

Why am I git ing this wrong?

on task 5 Now let's commit all the changes we made to the staging area.

I fell the answer should be : git commit -a -m "#" or i have tryed : git commit README.md -m "#" and also git commit prototype.html -m "#"

Every time it returns Bummer!

1 Answer

David Kaneshiro Jr.
David Kaneshiro Jr.
29,247 Points

You just need to use the following command for the task. You don't have to include the -a.

git commit -m "Your message here"