服务器的git pull

阅读 126

2023-01-12


就算把ssh公钥放在git的设置里,还是提示没有权限

所以要把服务器的 remote 地址  

解决办法如下:

    1、先输入$ ​​git​​ remote rm origin

  就不会报错了!

    3、如果输入$ git remote rm origin 还是报错的话,error: Could not remove config section 'remote.origin'. 我们需要修改gitconfig文件的内容

精彩评论(0)

0 0 举报