Making a commit in Git

Last Updated: October 7, 2019

Once you created a file or do changes in your folder where you have initialized the Git, you can commit the files to Git repository

To do a commit you can run the following commands

git add .a
git commit -m 'Initial Commit'

When you write a message for the commit command it is recommended to write in present tense form