首页 > 技术文章 > git修改用户名和密码

gaoqiao 2019-07-08 17:42 原文

1、查看当前用户名和密码

git config user.name/email

2、修改全局用户名、邮箱

git config --global user.name 新的用户名

git config --global user.email 新的邮箱

推荐阅读