diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sync.mdwn | 6 | ||||
-rw-r--r-- | doc/walkthrough/syncing.mdwn | 18 |
2 files changed, 15 insertions, 9 deletions
diff --git a/doc/sync.mdwn b/doc/sync.mdwn index 37b2b1b45..0250d2fef 100644 --- a/doc/sync.mdwn +++ b/doc/sync.mdwn @@ -36,3 +36,9 @@ The workflow for using `git annex sync` is simple: * Run `git annex sync` to save the changes. * Next time you're working on a different clone of that repository, run `git annex sync` to update it. + +Note that by default, `git annex sync` only synchronises the git +repositories, but does not transfer the content of annexed files. If you +want to fully synchronise two repositories content, +you can use `git annex sync --content`. You can also configure +[[preferred_content]] settings to make only some content be synced. diff --git a/doc/walkthrough/syncing.mdwn b/doc/walkthrough/syncing.mdwn index 0c8d52559..57fe47db0 100644 --- a/doc/walkthrough/syncing.mdwn +++ b/doc/walkthrough/syncing.mdwn @@ -15,13 +15,13 @@ Let's look at what the sync command does in more detail: push laptop ok -After you run sync, the repository will be updated with all changes made to -its remotes, and any changes in the repository will be pushed out to its -remotes, where a sync will get them. This is especially useful when using -git in a distributed fashion, without a -[[central bare repository|tips/centralized_git_repository_tutorial]]. See -[[sync]] for details. +After you run sync, the git repository will be updated with all changes +made to its remotes, and any changes in the git repository will be pushed +out to its remotes, where a sync will get them. This is especially useful +when using git in a distributed fashion, without a [[central bare +repository|tips/centralized_git_repository_tutorial]]. See [[sync]] for +details. -Note that syncing only syncs the metadata about your files that is stored -in git. It does not sync the contents of files, that are managed by -git-annex. +By default `git annex sync` only syncs the metadata about your +files that is stored in git. It does not sync the contents of files, that +are managed by git-annex. To do that, you can use `git annex sync --content` |