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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s