起初问题是我跑步:
git clone https://githubgithub.com/malwaredllc/byob
但它给出了结果:
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
所以我在最后添加了
--depth 1
并再次尝试,但我收到了一个新错误:
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet
我尝试使用
gh
命令但同样的错误,我尝试更新curl但它是最新版本,我在网上找不到修复程序,有人可以帮助我吗?
您确定您运行了正确的命令吗?
git clone https://github.com/malwaredllc/byob
这不是
githubgithub.com
。
如果您仍然遇到同样的问题,请尝试以下操作:
git config --global http.version HTTP/1.1
git clone https://github.com/malwaredllc/byob
克隆后,不要忘记恢复它:
git config --global http.version HTTP/2