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!

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 The Staging Area

Jenna Malone
Jenna Malone
7,173 Points

Why "Change file1" and "Changing file2"

Why did he run the command

git commit -m "Change file1"

but for the file 2 he used the word changing instead?

git commit -m "Changing file2"

Why would it not be the same? What is the difference?

1 Answer

Jennifer Nordell
Jennifer Nordell
Treehouse Teacher

HI there! Your commit messages are really sort of freeform and up to you. Trust me, there are some really crazy/funny commit messages out there. This was simply done for the purposes of showing how a commit message is made. They can be essentially anything you want to them to be, but ideally, will mean something to you and the team you're working with.

Hope this helps! :sparkles:

Jenna Malone
Jenna Malone
7,173 Points

Oh ok that makes sense! Thank You