How to set git local & global user email & user name?
Setting global user email & user name
git config --global user.email "[email protected]"
git config --global user.name "Foo Boo"
Setting repository specific (Local) user email & user name
First move to the repository for which you want to set local user email & name and them execute the following commands
git config user.email "[email protected]"
git config user.name "Foo Boo"
Cross Check
To see global user email & user name execute the following commands
git config --global user.email
git config --global user.name
To see repository specific (Local) user email & user name execute the following commands
git config user.email
git config user.name