diff --git a/doc/tips/recover_data_from_lost+found.mdwn b/doc/tips/recover_data_from_lost+found.mdwn index 48ef2a1d73..506ffec394 100644 --- a/doc/tips/recover_data_from_lost+found.mdwn +++ b/doc/tips/recover_data_from_lost+found.mdwn @@ -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