Le Tue, 5 Oct 2010 11:51:37 -0700 (PDT),
Konstantin Khomoutov <khomou...@gmail.com> a écrit :

> I'm not sure why later cloning the new repository fails, but I would
> suggest using more sensible approach to putting the repository to
> another machine in the first place:
> $ ssh u...@host
> % mkdir ~/test.git && cd ~/test.git && git init --bare
> % logout
> $ cd test
> $ git remote add foo ssh://u...@host/~/test.git
> $ git push --mirror foo

Doesn’t change anything : on my local machine, after creating the
remote repository with your method :

$ git clone ssh://u...@host/~/test.git
remote: Generating pack...
remote: Done counting 10171 objects.
remote: error: unable to find 719d3089ebb11eba608b13070c4e35be5e3969d6
remote: fatal: unable to get type of object
719d3089ebb11eba608b13070c4e35be5e3969d6 error: git-upload-pack:
git-pack-objects died with error. fatal: git-upload-pack: aborting due
to possible repository corruption on the remote side. remote: aborting
due to possible repository corruption on the remote side. fatal:
protocol error: bad pack header

Note that git push --mirror indicated “Counting objects: *10170*,
done” (not 10171). 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-us...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to