SolveProblem:Git 遇到了early EOF index-pack failed问题
来源:互联网 发布:js 实现bind 编辑:程序博客网 时间:2024/06/03 07:20
Problem:
- git clone fails with \"index-pack\" failed?
- Git checking out problem
- [fatal: early EOFs]
1)git config --global --add core.compression -1
-------------------------------------------------------------------
Compression is the meaning of the compression, and the server will compress the target file and transfer to the client,then extract it.
If we set the value between [-1,9], the -1 means compress default method, the 0 means non-compression.
The more bigger the value the slower the compression process while with the more little files.
-------------------------------------------------------------------
2)Because the file in github is too larger, so we could use ssh to replace the http.
<1>First, open the github page
profile setting -> to the ssh keys.
<2>Second,according to the page statements like following:
-------------------------------------------------------------------
SSH key allows you to establish a secure connection between your computer and GitLab
Before generating an SSH key, check if your system already has one by running cat ~/.ssh/id_rsa.pub
If your see a long string starting with ssh-rsa
orssh-dsa
, you can skip the ssh-keygen step.
To generate a new SSH key just open your terminal and use code below. The ssh-keygen command prompts you for a location and filename to store the key pair and for a password. When prompted for the location and filename you can press enter to use the default. It is a best practice to use a password for an SSH key but it is not required and you can skip creating a password by pressing enter. Note that the password you choose here can't be altered or retrieved.
ssh-keygen -t rsa -C "$your_email"
Use the code below to show your public key.
cat ~/.ssh/id_rsa.pub
Copy-paste the key to the 'My SSH Keys' section under the 'SSH' tab in your user profile. Please copy the complete key starting withssh-
and ending with your username and host.-------------------------------------------------------------------
<3>after adding the ssh key in here, we could use smartGit on Ubuntu to pull the project.
Remote -> add URL/Path -> git@XXXX.git (ssh url)
- SolveProblem:Git 遇到了early EOF index-pack failed问题
- Git 遇到了 early EOF index-pack failed 问题
- Git 遇到了 early EOF index-pack failed 问题
- Git 遇到了 early EOF index-pack failed 问题
- Git 遇到了 early EOF index-pack failed 问题
- git遇到remote: fatal: early EOF + index-pack failed的处理方法
- git遇到remote: fatal: early EOF + index-pack failed的处理方法
- git clone错误remote: internal server error + early EOF + index-pack failed的解决方法
- git clone(early EOF index-pack faild)克隆代码文件过大
- 解决Git问题之fatal: index-pack failed
- win下git的RPC failed & early EOF
- git报错:fatal: index-pack failed
- git clone操作出现fatal:index-pack failed错误解决方案
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"
- Git Clone时报 "fatal: index-pack failed error: RPC failed; result=18, HTTP code = 200"原因文件过大需要服务端配置一下
- git通过https访问仓库遇到error: gnutls_handshake() failed问题
- 使用BitBucket和SourceTree进行源代码管理遇到POST git-receive-pack (chunked) 问题
- 使用github和SourceTree进行源代码管理遇到POST git-receive-pack (chunked) 问题
- Weblogic10 与 Websphere MQ7集成方案[2]
- 键盘显示
- Java 线程状态
- 毕马威首次发布中国金融科技 50 强榜单
- linux grep命令详解
- SolveProblem:Git 遇到了early EOF index-pack failed问题
- c#输出九九乘法表
- Qualcomm平台qcril初始化及消息处理流程
- JavaSE学习笔记
- 使用SurfaceView模拟下雪花的动画
- CALayer基本属性
- CTreeCtrl 控件使用总结
- 聊聊JVM:相对全面的GC总结(专栏)
- uip之protothreads