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

Omar Farag
Omar Farag
4,573 Points

git commit -a Not working

It wants me to commit all changes in the repository. I used git commit -a, but its not working

4 Answers

Omar Farag
Omar Farag
4,573 Points

I don't think the period is included though, right? Thanks anyways.

Omar Farag
Omar Farag
4,573 Points

git add doesn't work

Dale Severude
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 Points

Git add with a period adds all changed files or can also do only a single file.

git add filename

If git add is not working, what do you see when you do git status?

git status
Omar Farag
Omar Farag
4,573 Points

I just get an error. Im not using the console, I'm taking a quiz. And git add . doesn't work.

Volodymyr Boretskyi
Volodymyr Boretskyi
9,094 Points

Hey, try: git add --a, git commit -m "message"