fatal: bad object HEAD
- From
Rostislav Svoboda <rostislav.svoboda@gmail.com>
- Date
- Mar 19, 2009, 16:55 UTC
- Message-ID
- <286817520903190955n2e27abb6ydd52d9ddcffccbc7@mail.gmail.com>
Hi people, I have a BIG trouble:
$ git fsck error: refs/heads/branch_1 does not point to a valid object! error: refs/heads/branch_2 does not point to a valid object! error: refs/heads/branch_3 does not point to a valid object! error: refs/heads/master does not point to a valid object! (and quite many missing and dangling blobs)
I use msysGit 1.6.1-preview20081227 and I did: $ git checkout master $ git gui
here I got again and again that stupid error message 'file fname.ext has been modified but no changes detected' so I did $ git add fname.ext $ git branch branch_1 (here I did a mistake. I wanted to do 'git checkout branch_1' )
And now is _everything_ seems to be lost... uaaaa :( What can I do now? Any would be REALLY appreciated
Bost