1.报错

git拉代码报错

 

 

 git拉代码报错

 

 

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"

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"

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
  • 2021-10-03
  • 2021-06-12
  • 2021-10-20
  • 2022-01-06
  • 2021-10-03
猜你喜欢
  • 2021-04-19
  • 2021-09-06
  • 2022-12-23
  • 2021-10-19
  • 2021-11-01
  • 2021-12-28
  • 2021-11-28
相关资源
相似解决方案