SHELL
git change username email
# 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 set email and username
git config --global user.name "Your Name"
git config --global user.email "youremail@yourdomain.com"
git set name and email
git config --global user.name "Peter"
git config --global user.email "peter@gmail.com"
configure your git username/email
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "YourEmail@example.com"
get git config username and email
git config --global user.email
git config --global user.name
update git config username and email
git config --global --edit
set name and email git
git config --global user.name "Name"
git config --global user.email "exe@exe.com"
change git username and email
$ git config --global user.email "email@example.com"
set github username and mail
# Global configuration
git config --global user.name "FIRST_NAME LAST_NAME"
git config --global user.email "MY_NAME@example.comgit config user.name "FIRST_NAME LAST_NAME"
# Repository specific
git config user.email "MY_NAME@example.com"
git config user.name "FIRST_NAME LAST_NAME"
# Check your configuration
cat .git/config"
git config global username and email
// -> Goto .git
// -> Then edit config
[user]
name = xyzzz
email = abhishek@gmail.com
Set Up Your Username and Email in Git Command
git config --global user.name "Tara Routray"
git set username and email
git config --global user.email yournew@email.com
git config --global user.name yournewgoodname