vue项目push 遇到send-pack: unexpected disconnect while reading sideband packetclient_loop: send disconn

在github中 尝试push 的时候报错

 解决方案是参考macOS 进行 git clone 时报错 fetch-pack: unexpected disconnect while reading sideband packet - CuriousZero - 博客园

首先关闭 core.compression

git config --global core.compression 0
然后使用depth这个指令来下载最近一次提交

git clone --depth 1
然后获取完整库

git fetch --unshallow 
最后pull一下查看状态,问题解决

git pull --all

你可能感兴趣的:(vue.js,前端,javascript)