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

github see the username

git config user.name
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 :: mongoclient install ubuntu 
Shell :: pipenv an error occurred while installing psycopg2==2.8.4 
Shell :: Laravel Rolling Back Migrations 
Shell :: install jupyterlab on ubuntu 
Shell :: sudo kill port 
Shell :: ubuntu command line replace word in files 
Shell :: heroku run seeds 
Shell :: delete file older linux find 
Shell :: edit sshd_config 
Shell :: linux open current directory in gui 
Shell :: nextjs init 
Shell :: updating git 
Shell :: zsh add to path permanently 
Shell :: fly destroy pipeline 
Shell :: open wsl as root 
Shell :: s3 upload file cli 
Shell :: transfer files to cluster 
Shell :: random 6 digit number c# 
Shell :: how to stop a web server linux 
Shell :: change git remote 
Shell :: bash: bin/activate: No such file or directory 
Shell :: git rebase continue 
Shell :: renomear branch 
Shell :: installing star aligner in macos 
Shell :: git commits by author 
Shell :: nohup set output file 
Shell :: raspberrypi open ports 
Shell :: find and replace in all files in directory centos 
Shell :: git cli switch user 
Shell :: pipgui install 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =