Saber2pr's Blog

SetUserName

Set the workspace user name:

git config user.name "username"
git config user.email "[email protected]"

Set the global default user name:

git config --global user.name "username"
git config --global user.email "[email protected]"

Workspace user name takes precedence over global user name View the current project user name:

git config user.name
git config user.email