打开Git Bash 键入如下指令: 1 查看用户名(也可执行2直接修改) git config user.name 2 修改用户名 git config --global user.name “you want” 可按1-2-1的顺序执行 验证是否正确修改用户名哟