aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/recover_data_from_lost+found.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tips/recover_data_from_lost+found.mdwn')
-rw-r--r--doc/tips/recover_data_from_lost+found.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/tips/recover_data_from_lost+found.mdwn b/doc/tips/recover_data_from_lost+found.mdwn
index 48ef2a1d7..506ffec39 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