git pull set username for current repo code example
Example 1: git user config
$ git config --local user.name "John Doe"
$ git config --local user.email [email protected]
Example 2: git add identity
ssh-add -K ~/.ssh/key
$ git config --local user.name "John Doe"
$ git config --local user.email [email protected]
ssh-add -K ~/.ssh/key