git config --global user.email "[email protected]" git config --global user.name "Your Name"
Example 1: configure git username and email
git config --global user.name "Your Name"git config --global user.email "[email protected]"
Example 2: git commit please tell me who you are
1.git init
2.git config user.name "someone"
3.git config user.email "[email protected]"
4.git add *
5.git commit -m "some init msg"