C:项目学习>git clone https://github.com/gmingchen/vue3-element-plus-admin.git
Cloning into 'vue3-element-plus-admin'...
remote: Enumerating objects: 6634, done.
remote: Counting objects: 100% (1572/1572), done.
remote: Compressing objects: 100% (617/617), done.
error: 5021 bytes of body are still expectediB | 35.00 KiB/s
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
在GitHub上clone项目学习,发现项目一直clone不下来。一开始是显示5021 bytes of body are still expectediB | 35.00 KiB/s。
然后搜索解决方法解决问题
C:项目学习>git config -add core.compression -1
error: did you mean `--add` (with two dashes)?
C:项目学习>git clone https://github.com/gmingchen/vue3-element-plus-admin.git
Cloning into 'vue3-element-plus-admin'...
remote: Enumerating objects: 6634, done.
remote: Counting objects: 100% (1572/1572), done.
remote: Compressing objects: 100% (617/617), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 7657 bytes of body are still expected
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
重新clone变成了 RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054。
成功解决方法:
1.git config http.sslVerify "false"
git config http.sslVerify "false"
![]()
2.之后再进行git init 操作

3.然后重复操作 git config http.sslVerify "false"
4.最后重新进行项目clone。

最后成功解决了问题。
最后
以上就是不安茉莉最近收集整理的关于git clone项目时报错,无法成功clone项目成功解决方法:的全部内容,更多相关git内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复