git clone过大的仓库时会报以下错误
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
解决办法是分层clone
$ git clone --depth 1 https://github.com/dogescript...
$ git remote set-branches origin 'remote_branch_name'
$ git fetch --depth 1 origin remote_branch_name
$ git checkout remote_branch_name
参考
https://stackoverflow.com/questions/23708231/git-shallow-clone-clone-depth-misses-remote-branches
版权属于:Surou
本文链接:https://www.bcskill.com/index.php/archives/960.html
欢迎添加区块链技术QQ群:791420381 <====> 社区提供付费服务:主链定制修改,环境搭建及日常运维,智能合约编写,技术架构设计,技术顾问等。收入主要用于社区服务器以及推广开支。详询加QQ652511569