git rm doesn't work, we better have to reset. No git commit is necessary, then.

This commit is contained in:
TroisSinges 2013-11-28 07:25:31 +00:00 committed by admin
parent f820f5d9bb
commit f935390e10

View file

@ -8,8 +8,8 @@ First, check out the git repository again. Then, in the new checkout:
$ sudo chown you:you recovered-content
$ chmod -R u+w recovered-content
$ git annex add recovered-content
$ git rm recovered-content
$ git commit -m "recovered some content"
$ git reset HEAD recovered-content
$ rm -rf recovered-content
$ git annex fsck
The way that works is that when git-annex adds the same content that was in