Git Error: unable to find

I get the following error when I do a git pull origin master.

error: Unable to find a47058d09b4ca436d65609758a9dba52235a75bd under http://myweb.com/myapp.git
Cannot obtain needed blob a47058d09b4ca436d65609758a9dba52235a75bd
while processing commit 041d57dd5bed9d6c75fe7cce944b2b2904ae3a62.
error: Fetch failed.

Everything has been working fine up until a few minutes ago. I did not do anything out of hte ordinary. I’ve been doing my usual commit push and pull, and now I’m suddenly getting this error.

  • git fetch upstream doesn't work
  • How to get just one file from another branch
  • Advanced git scenarios
  • How to revert project back to a previous commit in android studio
  • Ignore all files with the same name in git
  • Why is it considered good practice to describe git commits in the present tense?
  • What does this error mean? What are the steps to troubleshooting/correcting this error?

  • gerrit+apache2 can't sign out
  • What does it mean that a Git push can not be fast foward merged?
  • Need to handle git-submodules in git-archive
  • confused about creating nested branches in git
  • Need to go back to prev commit in git,How?
  • How can I verify that a git project's release branch's fixes have all been merged into master?
  • 2 Solutions collect form web for “Git Error: unable to find”

    Like Adam said, recover the object frmo another repository/clone.

    Don’t forget to take into account packs. So, a more generalized procedure is this:

    On a ‘complete’ git database

    git cat-file -p a47058d09b4ca436d65609758a9dba52235a75bd > tempfile
    

    and on the receiving end

    git hash-object -w tempfile
    

    copy objects from your directory (.git/objects) and other people that work on a clone of this repo. One object got zapped so this should fix it.

    Here is more about moving objects around: http://www-cs-students.stanford.edu/~blynn/gitmagic/ch08.html#_the_object_database

    Git Baby is a git and github fan, let's start git clone.