git拉代码报错

1.报错

 

 

 

 

 

2.原因  git两个账号切换不成功

切换账号方法

1. 查看当前登录账号:

git config user.name

2. 查看当前登录邮箱:

git config user.email

3. 修改用户名和邮箱:

git config --global user.name "Your_username"
git config --global user.email "Your_email"

 

 注意有空格

 

posted on 2019-11-21 22:32  好名字被谁用了  阅读(360)  评论(0编辑  收藏  举报

导航