美文网首页
error: RPC failed; curl 18 trans

error: RPC failed; curl 18 trans

作者: flamez57 | 来源:发表于2020-02-07 22:43 被阅读0次

    一,加大缓存区

    git config --global http.postBuffer 524288000

    这个大约是500M

    二、少clone一些,–depth 1

    git clone https://github.com/wuxia2001/loveyue.git --depth 1

    –depth 1的含义是复制深度为1,就是每个文件只取最近一次提交,不是整个历史版本。

    三、换协议

    clone http方式换成SSH的方式,即 https:// 改为 git://

    例如git clone https://github.com/wuxia2001/loveyue.git

    换成git clone git://github.com/wuxia2001/loveyue.git

    相关文章

      网友评论

          本文标题:error: RPC failed; curl 18 trans

          本文链接:https://www.haomeiwen.com/subject/eufbxhtx.html