diff options
Diffstat (limited to 'USE.md')
-rw-r--r-- | USE.md | 26 |
1 files changed, 25 insertions, 1 deletions
@@ -38,7 +38,31 @@ git annex add baz git commit -m "Update foo bar, and add baz." ``` -(final `git commit` is implied by [`git annex sync` or `git annex move`](#clone)) +(final `git commit` is implied by [`git annex sync` or `git annex move`](#sync)) + + +## Sync + +To align a git-annex repository with subscribed annex(es), +request a syncronization: + +```shell +git annex sync --content --all +``` + +Alternatively (e.g. on slow/expensive network), +syncronize only metadata and only with nearest clones: + +```shell +git annex sync +``` + +Alternatively (e.g. on small host), +push the content to only be remote without keeping a local copy: + +```shell +git annex move . +``` ## Access |