Git Commit | Git Tutorial For Beginners

How to Commit in Git?

Commit in git is very easy. commit is used to track change in files or folders under a commit message. So that later in future, if we need to identified  what was changed in that commit by just seeing the commit message if the commit message is human readable format.Provide commit in git in every single change is a good practice and all practitioner of git is following it. To commit a message against a change in your project of whatever. You need to apply following steps in your git bash:

 $ git add --all
 $ git commit -m "Your Human Understanding Commit Message"

Hope this will help you to understand how to commit a message in git

Nahidur Rahman Rifath

Passionate Software Engineer, Content Writer, Reader

3 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *