Git Config Features Set user and email according to the directory Ignore files globally Installation git clone [email protected]:baijunyao/gitconfig-demo.git ~/Sites/gitconfig Usage Add the following code to the ~/.gitconfig [include] path = ~/Sites/gitconfig/.gitconfig Links 非常实用的为公司和个人项目分别设置 Git User 的方案