diff options
author | Jonas Smedegaard <dr@jones.dk> | 2024-05-20 09:47:58 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-05-20 09:47:58 +0200 |
commit | cbd4703eb81b583d9a9e91227067368491b88aae (patch) | |
tree | f4ae6ad63cbd7fd27ed70fc07b383567701db1ad /SETUP.md | |
parent | b03347f7e43c3c312e15b3dae1ff342f5a6140ad (diff) |
move non-initial parts of SETUP section Clone to new USE section Sync
Diffstat (limited to 'SETUP.md')
-rw-r--r-- | SETUP.md | 27 |
1 files changed, 3 insertions, 24 deletions
@@ -42,20 +42,20 @@ add e.g. the following to file `.gitattributes`: *.svg annex.largefiles=nothing ``` -Finally (save)[#Save] all content: +Finally, save all content: ```shell git annex add . git commit -m "Initial commit" ``` -(final `git commit` is implied by [`git annex sync` or `git annex move`](#clone)) +(final `git commit` is implied by a later `git annex sync` or `git annex move`) ## Clone To collaborate on a shared git repository, -first create a local clone from the shared location, +create a local clone from the shared location, and tell git-annex to use it: ```shell @@ -63,27 +63,6 @@ git clone git://[[!template id=githost]]/example git annex init ``` -Then from time to time syncronize, -ensuring that all content exists both locally and remotely: - -```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 . -``` - ### Publish |