I was able to push and pull from the git remote till yesterday. I don't know (or remember) what I did today suddenly I can't push to remote git repo. I am getting following error
$ git push
Counting objects: 83, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (17/17), 1.32 KiB | 0 bytes/s, done.
Total 17 (delta 12), reused 0 (delta 0)
remote: fatal: unresolved deltas left after unpacking
error: unpack failed: unpack-objects abnormal exit
To //myserver/git/apps/myApp.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to '//myserver/git/apps/myApp.git'
And when I try to clone again I am getting error
$ Git clone //myserver/git/apps/myApp.git/
Cloning into 'MyApp'...
done.
fatal: unable to read tree 18295307f1270da3c09e3de91890652af4ff7ca8
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
Both
git status
and
git checkout -f HEAD
gives error
fatal: unable to read tree 18295307f1270da3c09e3de91890652af4ff7ca8
Can anyone help me understand what went wrong and how can I fix it?
Thanks