Answers for "git know profile logged in"

2

check logged in user git shell

git config -l
git config user.name
git config user.email
Posted by: Guest on April-22-2021
1

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 [email protected]
git config --local user.name "whatf hobbyist"

in one repo, and

git config --local user.email [email protected]
git config --local user.name "whatf at work"

in another
Posted by: Guest on January-28-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language