当前位置:   article > 正文

Git使用:在Git pull时遇到的Error及解决方法_git pull error

git pull error

1. Error:

    fatal: The remote end hung up unexpectedly

    error: RPC failed; curl 18 transfer closed with outstanding read data remaining

解决方法:

        git config --global http.postBuffer 524288000

      需要注意的是http.postBuffer 后,单位是b,524288000B也就500M左右


2. Error:

     error: RPC failed; curl 56 SSLRead() return error -3600 KiB/s    

     fatal: The remote end hung up unexpectedly

     fatal: early EOF

     fatal: index-pack failed

  解决方法:

            sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

3. git pull时 ,报错说本地有 change,需要merge

    解决方法:

             先执行 git checkout {fileName} 

             再执行一次git pull就解决了

4. ssh: Could not resolve hostname gitlab.espressif.cn: Temporary failure in name resolution
fatal: Could not read from remote repository.

solution:
Please make sure you have the correct access rights
and the repository exists.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/正经夜光杯/article/detail/758733
推荐阅读
相关标签
  

闽ICP备14008679号