blog

git为项目单独配置用户名和邮箱

进入要配置的git项目目录后

单独配置用户名

git config --local user.name "你的用户名"

单独配置邮箱

git config --local user.email "abc@qq.com"