docs/src/push.md

changeset 702
444aa8fe133f
parent 409
90a6d6952d83
equal deleted inserted replaced
701:0a48f17c729d 702:444aa8fe133f
1 --- 1 ---
2 title: 'dav-sync push' 2 title: 'dav-sync push'
3 --- 3 ---
4 4
5 **`dav-sync push [-cldr] [-t <tags>] <directory>`** 5 **`dav-sync push [-cldrSRM] [-t <tags>] <directory>`**
6 6
7 Pushes all local changes to the server. This uploads all locally modified files and deletes all locally deleted files on the server. 7 Pushes all local changes to the server. This uploads all locally modified files and deletes all locally deleted files on the server.
8 8
9 If conflict detection is not disabled, all files that are also modified on the server will be skipped. 9 If conflict detection is not disabled, all files that are also modified on the server will be skipped.
10 10
15 **`-d`** Don't lock the repository (default) 15 **`-d`** Don't lock the repository (default)
16 16
17 **`-t <tags>`** Only sync files that match the tag filter expression 17 **`-t <tags>`** Only sync files that match the tag filter expression
18 18
19 **`-r`** Remove resources not matching the tag filter 19 **`-r`** Remove resources not matching the tag filter
20
21 **`-S`** Save the previous file version, before replacing it
22
23 **`-R`** Upload files, that were deleted on the server since last sync, but still locally available
24
25 **`-M`** Upload files, that were modified on the server since last sync

mercurial