set git user code example
Example 1: set username git
git config --global user.name "My Name"
Example 2: git user config
$ git config --local user.name "John Doe"
$ git config --local user.email [email protected]
Example 3: how to set up git user
$ git config --global user.name "Mona Lisa"
Example 4: how to set up git user
$ git config --global user.name
> Mona Lisa
Example 5: git config --global user.name "Server"
cat .gitconfig