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

JavaScript

commit all changes to the staging areaD?

having trouble here I thought

git commit -a -m " all changes"

didn't work

Laura Steiner
Laura Steiner
14,396 Points

That command should stage and commit changes to all files that are already tracked in git It wouldn't add completely new files to the repo.

1 Answer

git commit -m "all changes" worked!!!