Git修改用户名和邮箱

1、查看当前用户名和邮箱

1 git config user.name
2 git config user.email

2、修改

git config --global user.name "test(新的用户名)"
git config --global user.email "abc@qq.com(新的邮箱)"
git config --global user.password "123456(新的密码)"
原文地址:https://www.cnblogs.com/51ma/p/12881170.html