git pull crashes after other member push something

Posted by naiad on Stack Overflow See other posts from Stack Overflow or by naiad
Published on 2011-11-23T17:39:37Z Indexed on 2011/11/23 17:51 UTC
Read the original article Hit count: 380

Filed under:
|

Here it's the story... we have a Github account.

I clone the repository ... then I can work with it, commit things, push things, etc ... I use Linux with command line and git version 1.7.7.3

Then other user, using Eclipse and git plugin for eclipse eGit 1.1.0 pushes something, and it appears in the github web pages as the last commit, but when I try to pull:

$ git pull
remote: Counting objects: 13, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9 (delta 2), reused 7 (delta 0)
Unpacking objects: 100% (9/9), done.
error: unable to find 3e6c5386cab0c605877f296642d5183f582964b6
fatal: object 3e6c5386cab0c605877f296642d5183f582964b6 not found

"3e6c5386cab0c605877f296642d5183f582964b6" is the commit hash of the last commit, done by the other user ... there's no problem at all to browse it through web page ... but for me it's impossible to pull it.

It's strange, because my command line output tells about that commit hash, so it knows that one is the last one commit in the github system, but my git can not pull it !

Maybe the git protocol used in eGit is incompatible with the console git 1.7.7.3...

© Stack Overflow or respective owner

Related posts about git

Related posts about github-api