git config login code example
Example 1: list config git
git config --list
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 user
$ git config --global user.name "John Doe"
$ git config --global user.email [email protected]