sync: Now supports remote groups, the same way git remote update does.

This commit is contained in:
Joey Hess 2014-12-29 13:41:03 -04:00
parent f7333d29ae
commit aba3e11776
5 changed files with 37 additions and 5 deletions

View file

@ -143,8 +143,9 @@ subdirectories).
* `sync [remote ...]`
Use this command when you want to synchronize the local repository with
one or more of its remotes. You can specify the remotes to sync with by
name; the default is to sync with all remotes.
one or more of its remotes. You can specify the remotes (or remote
groups) to sync with by name; the default if none are specified is to
sync with all remotes.
Or specify `--fast` to sync with the remotes with the
lowest annex-cost value.

View file

@ -1,3 +1,5 @@
`git remote update $group` looks at the $group.away git config and fetches
from the listed remotes. It would be useful if `git annex sync $group` did the same.
--[[Joey]]
[[done]]