sorry to trouble you genius..
i am coming across a common problem that there is many solution on stack overflow, but those solution all does not suit for me. So at the end i have no choice but ask help from you genius again on the stack overflow.
- i have a cloned repository on my server.
- when i changed some code on my development machine and push to the remote git repository, everything worked smoothly.
- the error start from when i pull data from the server. On the server, i command
git pull
the following error show up:
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
- i tried this sloution: fatal: early EOF fatal: index-pack failed
but i get error form step 2
git clone --depth 1 <repo_URI>
the error is :
Cloning into 'sinolife'...
remote: Counting objects: 2783, done.
remote: Compressing objects: 100% (2199/2199), done.
Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I also get a solution that there isn't enough swap memory. so i create a swap memory. At the beginning the swap is 0...After i config the swap, the
free -m
result is:total used free shared buffers cached
Mem: 993 930 63 0 21 57
-/+ buffers/cache: 851 142
Swap: 499 16 483
but i also get the some error.
$git pull
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
$git clone
Cloning into 'sinolife'...
remote: Counting objects: 2783, done.
remote: Compressing objects: 100% (2199/2199), done.
Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
- also The remote end hung up unexpectedly while git cloning, follow the step ,but error come again. the following is my git config file
$git config -l
http.postbuffer=524288000
user.email= myemail@myemail.com
core.compression=0
core.compression=-1
core.compression=-1
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.compression=-1
core.packedgitlimit=512m
core.packedgitwindowsize=512m
remote.origin.url= my repository
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
pack.deltacachesize=2047m
pack.packsizelimit=2047m
pack.windowmemory=2047m
my environment:
uname -a
Linux VM-87-192-ubuntu 3.13.0-86-generic #131-Ubuntu SMP Thu May 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
git --version
git version 2.11.0
8. hope some one can help me give my some hint.
9. question abstract
i have a git repository, and already cloned in the server, but when git pull
remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
when start a new clone git clone
Cloning into 'sinolife'...
remote: Counting objects: 2057, done.
remote: Compressing objects: 100% (1740/1740), done.
Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed