summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-01 17:39:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-01 17:39:33 -0400
commit5920ca6fe9a27cdbd9757a935a611169fc315b09 (patch)
tree5ca68b19d6dd088c182436b800fd8d6763c92e7e /doc/git-annex.mdwn
parent874374e3b048ce1e9b9ef6e8b60b0a4debf93c90 (diff)
mirror: Support --all (and --unused).
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index ed77f55aa..da9e021da 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -181,11 +181,16 @@ subdirectories).
repository. If a file's content is present in the source repository, it is
copied to the destination repository. If a file's content is not present in
the source repository, it will be dropped from the destination repository
- when possible.
+ when the numcopies setting allows.
Note that mirror does not sync the git repository, but only the file
contents.
+ Also, --all may be specified to mirror all objects stored in the git
+ annex, not only objects used by currently existing files. However, this
+ bypasses checking the .gitattributes annex.numcopies setting when
+ dropping files.
+
* `addurl [url ...]`
Downloads each url to its own file, which is added to the annex.