git-annex/doc/forum/Restoring_files__63__.mdwn
mike.dacre@06f2e98956fc551180a694c61abd45921cd7369b 498e95e2fc
2015-06-30 00:49:51 +00:00

11 lines
755 B
Markdown

One of my users created a git annex repository a while ago and has since left the lab, and I think they messed it up badly.
It looks like all of the data is present in the annex directory, but there are no files in main directory, other than the .git folder. The master branch seems to be gone, and the only branch left is called git-annex.
git log gives the error "fatal: bad default revision 'HEAD'" when I first do git log, because the branch that I am on doesn't exist (the master branch). Changing to the git-annex branch works, but then I can't go back to the master branch because it doesn't exist.
git annex unannex doesn't seem to do anything. Is there any way to get the data back following this kind of mess up?
Thanks for your help
-Mike