summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 14:51:13 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 14:51:13 -0400
commit1953e2b0572a50b7b7307135a68de6a1899494b8 (patch)
treebc6ef07d9fbd29f32e3e374f10c11388c24774c8 /doc
parentc9fd508d0a39e95c98a299d601cf063b46fbd8ef (diff)
respinse
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/Question:_git-annex-only_repo___63__/comment_9_182c66e98086dbfde29b615d0cf0e8e4._comment19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/forum/Question:_git-annex-only_repo___63__/comment_9_182c66e98086dbfde29b615d0cf0e8e4._comment b/doc/forum/Question:_git-annex-only_repo___63__/comment_9_182c66e98086dbfde29b615d0cf0e8e4._comment
new file mode 100644
index 000000000..b9432bb03
--- /dev/null
+++ b/doc/forum/Question:_git-annex-only_repo___63__/comment_9_182c66e98086dbfde29b615d0cf0e8e4._comment
@@ -0,0 +1,19 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 9"""
+ date="2015-07-06T18:47:23Z"
+ content="""
+If you use indirect mode, and avoid passing --force to any git-annex
+commands, then git-annex will ensure that it always keeps all versions of
+all files.
+
+Any command that would delete any data requires the --force option.
+
+If your repo uses direct mode, we can't make this guarantee, because
+the files are left directly in your work tree and you can edit or delete
+them manually and there's nothing git-annex can do to stop that.
+
+There is not currently a way to keep a particular number of old versions of
+a file. This comes down to picking the versions to keep or drop when
+running `git annex dropunused` (with --force of course).
+"""]]