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