From: Sverre Rabbelier Date: Mon, 18 May 2009 15:11:38 GMT Subject: Re: Git screwup with reset Message-ID: In-Reply-To: <9D569322-6A7B-4447-962C-0C740945E227@orgsync.com> Heya, On Mon, May 18, 2009 at 16:58, jake varghese wrote: >  Anyone know of a way to get this stuff back. Make a backup copy of that .git directory, so that whatever you do you won't lose that work ;). Also, the reason you can't merge or rebase that hash is because it's the hash of a tree or a blob, not a commit. You can use git commit-tree [0] to create a commit from your lost tree, but that works only if you have a tree (for just a blob you can use git cat-file [1]) [0] http://www.kernel.org/pub/software/scm/git/docs/git-commit-tree.html [1] http://kernel.org/pub/software/scm/git/docs/git-cat-file.html -- Cheers, Sverre Rabbelier