原因:自己添加了ssh到GitHub账号配置中,但是clone拉下来的链接是http的,只需要修改本地配置url为ssh的就行 

拉分支一般默认为https,如果自己配置的GitHub是ssh,则clone的时候拉ssh 。

git push 报错:The requested URL returned error: 403

 

本地配置文件,在git的工程目录下.git/config :  

git push 报错:The requested URL returned error: 403

相关文章:

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