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 :: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application. 
Shell :: make kitty terminal the default terminal on ubuntu 
Shell :: firebase cli windows 
Shell :: rm files with extension 
Shell :: command to install fish shell 
Shell :: install datetime 
Shell :: get wifi password windows 
Shell :: install elixir ubuntu 
Shell :: uninstall react-router 
Shell :: git change master to main 
Shell :: how to delete a remote branch in git 
Shell :: install kazam ubuntu 20.04 
Shell :: code blocks download for debian 
Shell :: install angular globally 
Shell :: upgrade storybook 
Shell :: docker install in centos u7 
Shell :: check if firebase is installed globally 
Shell :: smart contract command deploy using hardhat 
Shell :: install nodemon dev 
Shell :: raspberry pi set wifi headless 
Shell :: install cmake anaconda 
Shell :: Error: Unable to resolve module `react-native-screens` from `node_modules/@react-navigation/bottom-tabs/src/views/BottomTabView.tsx`: react-native-screens could not be found within the project. 
Shell :: install autopep8 
Shell :: count lines of code in github repo 
Shell :: CAPACITOR_ANDROID_STUDIO_PATH 
Shell :: open port 3000 ubuntu 
Shell :: how to check kernel version in linux 
Shell :: thunderbird for linux 
Shell :: ubuntu stop php 
Shell :: heroku cli add remote 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =