Fixing unable to perform Commit using Git

  1. When you install Git for first time and try to commit a file to your project, you will receive a following error.

To fix the above issue, please run below commands

git config –global user.name”abc”

git config –local user.email “abc@gmail.com”

After running above commands, you will be able to run the Git commit.