git修改提交的用户名

第一步,设置新的用户名

git config user.name terwer
git config user.email [email protected]

第二步,修正用户名

git commit --amend --reset-author --no-edit