NAME
git-annex sync - synchronize local repository with remotes
SYNOPSIS
git annex sync [remote ...]
DESCRIPTION
This command synchronizes the local repository with its remotes.
This command first commits any local changes to files that have previously been added to the repository. Then it does the equivilant of git-annex-pull(1) followed by git-annex-push(1).
However, unlike those commands, this command does not transfer annexed content by default. That will change in a future version of git-annex,
OPTIONS
--content,--no-content,-gThe --content option causes the content of annexed files to also be pulled and pushed.
The --no-content and -g options cause the content of annexed files to not be pulled and pushed.
The
annex.synccontentconfiguration can be set to true to make--contentbe enabled by default.--content-of=path-C pathThis option causes the content of annexed files in the given path to also be pulled and pushed.
This option can be repeated multiple times with different paths.
--commit,--no-commitA commit is done by default (unless
annex.autocommitis set to false).Use --no-commit to avoid committing local changes.
--message=msg-m msgUse this option to specify a commit message.
--pull,--no-pullUse this option to disable pulling.
When
remote.<name>.annex-syncis set to false, pulling is disabled for that remote, and using--pullwill not enable it.--push,--no-pushUse this option to disable pushing.
When
remote.<name>.annex-syncis set to false, pushing is disabled for that remote, and using--pushwill not enable it.Also all options supported by git-annex-pull(1) and git-annex-push(1) can be used.
Also the git-annex-common-options(1) can be used.
SEE ALSO
git-annex(1)
AUTHOR
Joey Hess id@joeyh.name
Warning: Automatically converted into a man page by mdwn2man. Edit with care.