January 2018
Beginner
658 pages
13h 10m
English
In order to make our first commit and save our first thing into the Git repository, we'll run git commit and provide one flag, the m flag, which is short message. After that inside quotes, we can specify the message that we want to use for this commit. It's really important to use these messages so when someone's digging through the commit history, the list of all the changes to the project can be seen, which are actually useful. In this case, Initial commit is always a good message for your first commit:
git commit -m 'Initial commit'
I'll go ahead and hit enter and as shown in the following screenshot, we see all of the changes that happened to the repo:
We have created a bunch of new files inside of the Git repository. ...