[User] name = username email = company git account email
1 2 3 4 5
.gitconfig-github
[User] name = username email = github account email
1 2 3 4 5 6 7 8 9 10 11 12
.config
#git for company Host User IdentityFile ~/.ssh/company/zhaowh3_rsa #git for github Host github.com HostName github.com User git IdentityFile ~/.ssh/github/id_rsa_github