问题

git笔记:git push时出现remote: Permission to。。。The requested URL returned error: 403错误
出现的原因猜测是这个项目提交时,配置了错误的网址,即,你本来往自己github里面仓库写入资源,结果.git/config 配置确实其他人的仓库。
所以出现不允许~

解决方法

解决方法也很简单。

vim .git/config

git笔记:git push时出现remote: Permission to。。。The requested URL returned error: 403错误

带github的仓库,直接替换即可
git笔记:git push时出现remote: Permission to。。。The requested URL returned error: 403错误
git笔记:git push时出现remote: Permission to。。。The requested URL returned error: 403错误
然后再git push即可成功。
done!

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2021-11-09
  • 2022-01-12
  • 2021-07-11
  • 2021-08-25
  • 2021-07-15
  • 2021-08-04
猜你喜欢
  • 2021-06-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-28
相关资源
相似解决方案