如何配置多个提交用户?
1、git config user
git config --global user.name "<Your Name>"
git config --global user.email "<Your Email>"git config user.name "<Another Name>"
git config user.email "<Another Email>"2、Conditional Includes
[user]
name = Your Name
email = [email protected]
[includeIf "gitdir:~/dev/"]
path = .gitconfig-dev[user]
name = Another Name
email = [email protected]Last updated