현재 프로젝트를 수정하는 명령 :
git config user.name 你的名字;
git config user.email 你的邮箱;
글로벌 수정
git config --global user.name 你的名字;
git config --global user.email 你的邮箱;
오류가있는 경우
$ git config --global user.name *******
warning: user.name has multiple values
error: cannot overwrite multiple values with a single value
Use a regexp, --add or --replace-all to change user.name.
$ git config --list
user.name에 여러 값이 있음을 발견했습니다.
그런 다음
$ git config --global --replace-all user.email "输入你的邮箱"
$ git config --global --replace-all user.name "输入你的用户名"