Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to check the current git user

To know the username, type:

git config user.name

To know the email, type:

git config user.email
Comment

view git username

# show your Git username
git config --list

#an other way
`/.gitconfig
Comment

check git username

Just use --local instead of --global. In fact, local is the default so you can just do

git config --local user.email personal@example.org
git config --local user.name "whatf hobbyist"

in one repo, and

git config --local user.email work@example.com
git config --local user.name "whatf at work"

in another
Comment

PREVIOUS NEXT
Code Example
Shell :: change docker folder windows 
Shell :: node js nodemailer Error: Invalid login: 535-5.7.8 Username and Password not accepted. 
Shell :: install pyqt5 designer 
Shell :: create git aliases 
Shell :: copy file from local to s3 bucket aws cli 
Shell :: git remove .ds_store from commit 
Shell :: 7z e into folder linux 
Shell :: intellij ultimate install ubuntu 
Shell :: shell shortcuts 
Shell :: git log with numbers 
Shell :: history-search-backward zsh mac 
Shell :: jupyter notebook allow root 
Shell :: push a local branch 
Shell :: SSH for gitlab in ubuntu steps 
Shell :: eclipse in ubuntu snap 
Shell :: You must install at least one postgresql-client-<version package 
Shell :: fsl reg 
Shell :: increase upload size apache 
Shell :: remove trash linux 
Shell :: how to upgrade packages in yarn 
Shell :: git submodule update authentication 
Shell :: pm2 describe process 
Shell :: how to remove nvm 
Shell :: git add submodule 
Shell :: git add commit in one command 
Shell :: pm2 install 
Shell :: kill all process at port 
Shell :: git command to change drive 
Shell :: how to install mono on aws linux 
Shell :: dbeaver linux 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =