git修改用户名与密码

1、首先打开cmd窗口,win+R键,输入cmd,然后更新数据
         
   git config --global user.name "用户名"
   git config --global user.email  "邮箱"
2、查看,显示配置的信息
   git config --list
         
3、如果想清除账户信息,使用如下命令
   git config --system --unset credential.helper

 

posted @ 2019-12-08 15:53  等你在这里  阅读(29674)  评论(0编辑  收藏  举报