{"thread":{"id":"18411","subject":"fatal: bad object HEAD","startedAt":"2009-03-19T16:55:17Z","lastAt":"2009-03-19T17:24:51Z","messageCount":2,"participants":["Rostislav Svoboda"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"108548","messageId":"286817520903190955n2e27abb6ydd52d9ddcffccbc7@mail.gmail.com","threadId":"18411","inReplyTo":null,"subject":"fatal: bad object HEAD","fromName":"Rostislav Svoboda","fromEmail":"rostislav.svoboda@gmail.com","sentAt":"2009-03-19T16:55:17Z","receivedAt":"2009-03-19T16:55:17Z","isPatch":false,"sender":{"key":"rostislav.svoboda@gmail.com","avatar":"https://gravatar.com/avatar/9486d31c83feb25557c616b462aaef410dfe21d03bdf08cb62ff4ba9bafcc8eb?d=mp&s=160"},"body":"Hi people, I have a BIG trouble:\n\n$ git fsck\nerror: refs/heads/branch_1 does not point to a valid object!\nerror: refs/heads/branch_2 does not point to a valid object!\nerror: refs/heads/branch_3 does not point to a valid object!\nerror: refs/heads/master does not point to a valid object!\n(and quite many missing and dangling blobs)\n\nI use msysGit 1.6.1-preview20081227 and I did:\n$ git checkout master\n$ git gui\n\nhere I got again and again that stupid error message\n'file fname.ext has been modified but no changes detected' so I did\n$ git add fname.ext\n$ git branch branch_1    (here I did a mistake. I wanted to do 'git\ncheckout branch_1' )\n\nAnd now is _everything_ seems to be lost... uaaaa :( What can I do now?\nAny would be REALLY appreciated\n\nBost\n"},{"id":"108551","messageId":"286817520903191024u7adecbebk30f6f064f38e615b@mail.gmail.com","threadId":"18411","inReplyTo":"286817520903190955n2e27abb6ydd52d9ddcffccbc7@mail.gmail.com","subject":"Re: fatal: bad object HEAD","fromName":"Rostislav Svoboda","fromEmail":"rostislav.svoboda@gmail.com","sentAt":"2009-03-19T17:24:51Z","receivedAt":"2009-03-19T17:24:51Z","isPatch":false,"sender":{"key":"rostislav.svoboda@gmail.com","avatar":"https://gravatar.com/avatar/9486d31c83feb25557c616b462aaef410dfe21d03bdf08cb62ff4ba9bafcc8eb?d=mp&s=160"},"body":"I tried\n\n$ git fsck --verbose\nChecking tree fe217057862c74e6c1a0cf12e39b941f967927b2\nChecking blob fe56c41c028f320bb474ca9e0fe15baa2b0aa122\nChecking blob fe7c85910717d546ee002bb64a9d1476a9451eed\nerror: refs/heads/branch_1 does not point to a valid object!\nerror: refs/heads/branch_2 does not point to a valid object!\nerror: refs/heads/branch_3 does not point to a valid object!\nerror: refs/heads/branch_4 does not point to a valid object!\nerror: refs/heads/master does not point to a valid object!\nChecking reflog\n3d7d1cf8f8edae21d90be9d84c21b5ac65ee94dc->9e53015709777b533717b25687295407f38f840e\nChecking reflog\n9e53015709777b533717b25687295407f38f840e->695e934882e78fb85b78649dea5109aa69855a88\n...\n\nand deeper in the output there are 4 suspicious entries:\nChecking reflog\n0000000000000000000000000000000000000000->696bd2fc4a8554891976af42e65ccaf9d12009ac\nChecking reflog\n0000000000000000000000000000000000000000->aff44ac2a61607dd95caadd896e2cae51e4dfdcf\nChecking reflog\n0000000000000000000000000000000000000000->6f20af9bcc1f446116cc1af238cb849ca1ccd385\nChecking reflog\n0000000000000000000000000000000000000000->696bd2fc4a8554891976af42e65ccaf9d12009ac\n\nI think here might the problem. Can anyone explain me what it means? thx a lot\n\nBost\n\n\nOn Thu, Mar 19, 2009 at 17:55, Rostislav Svoboda\n<rostislav.svoboda@gmail.com> wrote:\n> Hi people, I have a BIG trouble:\n>\n> $ git fsck\n> error: refs/heads/branch_1 does not point to a valid object!\n> error: refs/heads/branch_2 does not point to a valid object!\n> error: refs/heads/branch_3 does not point to a valid object!\n> error: refs/heads/master does not point to a valid object!\n> (and quite many missing and dangling blobs)\n>\n> I use msysGit 1.6.1-preview20081227 and I did:\n> $ git checkout master\n> $ git gui\n>\n> here I got again and again that stupid error message\n> 'file fname.ext has been modified but no changes detected' so I did\n> $ git add fname.ext\n> $ git branch branch_1    (here I did a mistake. I wanted to do 'git\n> checkout branch_1' )\n>\n> And now is _everything_ seems to be lost... uaaaa :( What can I do now?\n> Any would be REALLY appreciated\n>\n> Bost\n>\n"}]}