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

Vuk Spasojevic
Vuk Spasojevic
9,491 Points

What I am doing wrong here. If someone can explain to me please

In first step I we add git add README.md and first test passed. In second I have to commit and create changes.

This is what I have done

git commit -a -m "Wrote some message"

but it's showing bummer

Steven Parker
Steven Parker
231,269 Points

I'm sure folks would like to help, but you'll need to show your code, and describe what the issue is.

It would also help to provide a link to the course page you are working with.

2 Answers

Steven Parker
Steven Parker
231,269 Points

If this is the initial commit of a newly added component, you would not need the "-a" flag.

Vuk Spasojevic
Vuk Spasojevic
9,491 Points

Thanks Steven, got it by myself, but thanks anyway.