# FOR ALL REPOS
## change username
git config --global user.name "John Doe"
## change email address
git config --global user.email "johndoe@example.com"
# FOR CURRENT-DIRECTORY REPO ONLY
## change username
git config user.name "John Doe"
## change email address
git config user.email "johndoe@example.com"
git config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"
git config --global user.name "Peter"
git config --global user.email "peter@gmail.com"
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "YourEmail@example.com"
git config --global user.email "your_email@abc.com"
# For setting inside project folder
git config user.name "Neeraj Singh"
git config user.email 'nnneerajjj@gmail.com'
git config --global --edit
git config --global user.name "Name"
git config --global user.email "exe@exe.com"
$ git config --global user.email "email@example.com"
git config --global user.name "Tara Routray"
git config --global user.email yournew@email.com
git config --global user.name yournewgoodname