用户名和邮箱地址是本地git客户端的一个变量,不随git库而改变。
每次commit都会用用户名和邮箱纪录。
git config user.name git config user.email
git config --global user.name "your name" git config --global user.email "your email"
git修改用户名和邮箱
原文:https://www.cnblogs.com/mkl34367803/p/9196627.html