Problem 1.
When Git clone occurred, the following problems occurred:
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
2. Steps to solve the problem:
git config --add core.compression -1
3. New problems
The terminal executes the previous sentence and then continues to pull the code. The problem appears as follows:
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
4. Problem-solving steps
This error may be caused by insufficient git memory. Modify the configuration to continue terminal processing:
[core]
packedGitLimit = 512m
packedGitWindowSize = 512m
[pack]
deltaCacheSize = 2047m
packSizeLimit = 2047m
windowMemory = 2047m
The statements in the above modified terminal are similar to those of eg:
git config --global core.com compression 0
After the above steps of processing, you can pull down the code!
Reference:
Technology blog: https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed technology blog: https://vnzmi.com/2017/01/08/git-early-eof-index-pack-failed/ technology blog: https://blog.csdn.net/qq_32791023/article/details/83622283?depth_1-utm_source=distribute.pc_relevant.none-task& utm_source=distribute.pc_relevant.none-task
The above content is only on behalf of the individual summary if there are mistakes, please also criticize correct, welcome to study together!
Read More:
- How to generate lib library with keil MDK and use lib Library
- Python 3 install pyqt5
- error: RPC failed; curl 56 OpenSSL SSL_ read: SSL_ ERROR_ Syscall, errno 10054 solution
- An error is reported when installing the package directly in pycharm, but it can be installed through the terminal. Error non zero exit code (2)
- Git Pull Failed solution
- Resolving fatal: reusing to merge unrelated histories in Git
- An error is displayed when virtualbox uses modifyhd command to expand capacity: Resize medium operation for this format is not implemented yet
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- Kibana was degraded from 7.0 to 6.8 and started to report an error
- Non real time fast synchronization scheme for mobile devices
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- Solution of maven pom.xml dependency invalidation in IntelliJ
- The installation of docker desktop failed. After successful installation, the docker can not be started
- windows GitLab: PTY allocation request failed on channel 0
- Mobile development: prompt ‘Task failed with exit 1 signal 0 {…’ error
- Mobile development: the error of “task failed with exit 1 signal 0 {…”
- gerrit error: missing Change-Id in commit message footer
- Git did not exit cleanly (exit code 128)
- Start gzip in node environment of project optimization
- To solve the problem of repeated password input when operating sourcetree on MAC