git查看和修改用户名和邮箱

查看

git config user.name
git config user.email

修改

git config --global user.name "userName"
git config --global user.email "email"

userName使用你要定义的名字
email使用你要定义的邮箱

猜你喜欢

转载自blog.csdn.net/wwrzyy/article/details/129121235