response
authorJoey Hess <joeyh@joeyh.name>
Thu, 1 Oct 2020 17:08:09 +0000 (13:08 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 1 Oct 2020 17:08:09 +0000 (13:08 -0400)
doc/todo/clarify_that_v7_applies_to_all_clones/comment_3_e0d7aa2360b97fd5428560db60715075._comment [new file with mode: 0644]

diff --git a/doc/todo/clarify_that_v7_applies_to_all_clones/comment_3_e0d7aa2360b97fd5428560db60715075._comment b/doc/todo/clarify_that_v7_applies_to_all_clones/comment_3_e0d7aa2360b97fd5428560db60715075._comment
new file mode 100644 (file)
index 0000000..08fb593
--- /dev/null
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2020-10-01T16:54:21Z"
+ content="""
+If the repository did not get switched from direct mode to adjusted
+unlocked branch, and does not use any unlocked files, you can:
+
+* remove the filter.annex.smudge and filter.annex.clean from .git/config
+* remove .git/info/attributes (or at least the filter=annex line)
+* remove .git/hooks/post-checkout and .git/hooks/post-merge
+* remove sqlite databases (all of .git/annex/keysdb* .git/annex/fsck/ .git/annex/export/ .git/annex/cidsdb*)
+* change annex.version
+
+To get back from adjusted unlocked branch to direct mode, you'd first want
+to check out the master branch, and then do all of the above, then `git
+annex direct` to get back into direct mode.
+"""]]