diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-03-20 16:00:06 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-03-20 16:00:48 -0400 |
commit | 11025aaa449495db399cd02cafc15cec5923281c (patch) | |
tree | 6af74adabd1e5fa7cab47df300d87f2b5612c023 /doc/git-annex-sync.mdwn | |
parent | fbf69ca7b3eee84c2284d260aa70f106ff9d6d57 (diff) |
sync --content-of=path
For when you want to sync only some files' contents, not the whole working
tree.
This commit was sponsored by Anthony DeRobertis on Patreon.
Diffstat (limited to 'doc/git-annex-sync.mdwn')
-rw-r--r-- | doc/git-annex-sync.mdwn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/git-annex-sync.mdwn b/doc/git-annex-sync.mdwn index e29698c4b..97c63d340 100644 --- a/doc/git-annex-sync.mdwn +++ b/doc/git-annex-sync.mdwn @@ -73,6 +73,14 @@ by running "git annex sync" on the remote. This behavior can be overridden by configuring the preferred content of a repository. See [[git-annex-preferred-content]](1). +* `--content-of=path` `-C path` + + While --content operates on all annexed files in the work tree, + --content-of allows limiting the transferred files to ones in a given + location. + + This option can be repeated multiple times with different paths. + * `--all` This option, when combined with `--content`, makes all available versions |