0
点赞
收藏
分享

微信扫一扫

服务器的git pull


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

所以要把服务器的 remote 地址  

解决办法如下:

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

  就不会报错了!

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

举报

相关推荐

0 条评论