常见问题处理
Git 克隆仓库异常
- 异常情况
1
2
3
4
5
6
7
8
9git clone https://github.com/LLK/scratch-gui.git
Cloning into 'scratch-gui'...
remote: Enumerating objects: 42, done.
remote: Counting objects: 100% (42/42), done.
remote: Compressing objects: 100% (41/41), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
- 解决办法
1
2
3# 问题原因:采用了http协议下载,repository 过大时,会导致当前问题。
# 解决方式:改为 git@ 方式 clone
git clone [email protected]:LLK/scratch-gui.git