切换Git账号后Push失败403错误的解决过程

  1. 切换了GitHub账号后,发现代码push不上去了,报403错误:

Push failed: Failed with error: fatal: unable to access 'https://github.com/xxx/UI_design_demo.git/': The requested URL returned error: 403

  1. 运行 gitlist命令,查看账户信息中有与当前账户不符的部分,也一一改了过来。

https://blog.csdn.net/aman1984/article/details/77774811

你可能感兴趣的:(切换Git账号后Push失败403错误的解决过程)