summaryrefslogtreecommitdiff
path: root/doc/git-annex-sync.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-08-14 13:49:55 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-08-14 13:49:55 -0400
commit84baaee08dba49a6f60fcd2a596338c8bc3c9f37 (patch)
tree3aa1edc3ee6b1a89fdc6abd5a9f430c60b2e49e0 /doc/git-annex-sync.mdwn
parent6703c5b7241fafcec56f932e08212811157117ce (diff)
sync: Support --jobs
* sync: Support --jobs * sync --content: Avoid unnecessary second pull from remotes when no file transfers are made.
Diffstat (limited to 'doc/git-annex-sync.mdwn')
-rw-r--r--doc/git-annex-sync.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/git-annex-sync.mdwn b/doc/git-annex-sync.mdwn
index 2f7180546..b4c23f843 100644
--- a/doc/git-annex-sync.mdwn
+++ b/doc/git-annex-sync.mdwn
@@ -65,6 +65,16 @@ by running "git annex sync" on the remote.
will only match the version of files currently in the work tree, but not
past versions of files.
+* `--jobs=N` `-JN`
+
+ Enables parallel syncing with up to the specified number of jobs
+ running at once. For example: `-J10`
+
+ When there are multiple git remotes, pushes will be made to them in
+ parallel. Pulls are not done in parallel because that tends to be
+ less efficient. When --content is synced, the files are processed
+ in parallel as well.
+
# SEE ALSO
[[git-annex]](1)