git修改用户名和邮箱以及密码

xiaoxiao2025-06-12  23

查看当前用户名和邮箱

git config user.name git config user.email

修改

git config --global user.name "zhangsan(新的用户名)" git config --global user.email "123456@qq.com(新的邮箱)" git config --global user.password "123456(新的密码)" //这里的zhangsan和邮箱都是你修改之后的用户名和邮箱

修改完成之后再次查看确认下,是不是自己改后的用户名和邮箱以及密码

转载请注明原文地址: https://www.6miu.com/read-5031737.html

最新回复(0)