summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkWHj0RxNMfuwvFzo2d-V6vBKOYwW_Fnfk <Andrew@web>2015-02-15 13:35:02 +0000
committerGravatar admin <admin@branchable.com>2015-02-15 13:35:02 +0000
commit0fcec70d546e301ebd96ada1e403ab801a395fd3 (patch)
tree81863c7fe8ef76e868e5fad39b5a3d4a2daba29b
parent97d8dd05c0fd059d18fa35265e4acb366c61afe9 (diff)
-rw-r--r--doc/forum/Using_standard_groups_and_sync_to_preserve_history:_--all_not_recognised.mdwn33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/forum/Using_standard_groups_and_sync_to_preserve_history:_--all_not_recognised.mdwn b/doc/forum/Using_standard_groups_and_sync_to_preserve_history:_--all_not_recognised.mdwn
new file mode 100644
index 000000000..f191503e3
--- /dev/null
+++ b/doc/forum/Using_standard_groups_and_sync_to_preserve_history:_--all_not_recognised.mdwn
@@ -0,0 +1,33 @@
+My copy of *git-annex* refuses to sync all, namely when I try it I get the following error
+
+ $ git annex sync --content --all
+ git-annex: unrecognized option `--all'
+
+ Usage: git-annex sync [REMOTE ...] [option ...]
+ --content also transfer file contents
+
+ To see additional options common to all commands, run: git annex help options
+
+This contradicts the advice on [preferred content](http://git-annex.branchable.com/preferred_content/) set out under **difference: unused**,
+and I cannot see any other options in my man page that would address the lack of this option.
+
+The problem I am trying to solve is that I wish to preserve all history on the backup drives. Namely, if I do the following
+
+ touch test-of-annex-backup.txt
+ git annex add test-of-annex-backup.txt
+ git commit --message='test: Create empty test-of-annex-backup.txt file'
+ git annex edit test-of-annex-backup.txt
+ echo "This line creates version 2 of this file" > test-of-annex-backup.txt
+ git annex add test-of-annex-backup.txt
+ git commit --message='test: Create version 2 of test-of-annex-backup.txt'
+ git annex sync --content --all
+
+I expect to see 2 copies of `test-of-annex-backup.txt` be copied to each accessible annex repository in the `backup` group
+
+I tried googling for `"git annex sync --content --all"`, but I only find pages telling me that this is what I should use, and none saying the option has been deprecated.
+
+I am very confused, as this seems to me an almost stereotypical use of *git-annex*, and yet I cannot see how to do it
+
+thanks
+
+Andrew