Added a comment
authoratrent <atrent@web>
Mon, 16 Nov 2015 09:06:34 +0000 (09:06 +0000)
committeradmin <admin@branchable.com>
Mon, 16 Nov 2015 09:06:34 +0000 (09:06 +0000)
doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment [new file with mode: 0644]

diff --git a/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment b/doc/tips/recover_data_from_lost+found/comment_3_02cb9efd54d8447d0bd11e5981e7dca7._comment
new file mode 100644 (file)
index 0000000..7121f38
--- /dev/null
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="atrent"
+ subject="comment 3"
+ date="2015-11-16T09:06:34Z"
+ content="""
+This procedure is also very useful when you accidentally rename files in the object dir.
+
+Such a case occurred to me when I 'detoxed' a git-annex: detox renames files and it substitutes \"--\" with \"-\", thus destroying my annex.
+
+I find git-annex very elegant in this situation: rather than trying to rename back the files (objects) you just re-add them (since content is still there unmodified) recreating the symlink targets!
+
+Kudos!
+"""]]