心尘Thanos Git设置当前项目提交用户名/邮箱 Git 方法一命令行 在项目根目录打开 cmd 或者 powershell # 设置当前项目(本地)提交名 git config --local user.name "你的名字" # 设置当前项目(本地)邮箱 git config --local user.email "你的邮箱@公司.com"