Git Domain Map User
Matching the specific domain
sh
vim ~/.gitconfig
ini
[user]
name = yunyuyuan
email = [email protected]
[includeIf "hasconfig:remote.*.url:[email protected]:*/**"]
path = .gitconfig-another
Add a configuration
sh
vim ~/.gitconfig-another
ini
[user]
name = another-user
email = [email protected]