docs/src/push.md

changeset 409
90a6d6952d83
parent 285
02d3e4b1245f
child 702
444aa8fe133f
equal deleted inserted replaced
408:f71eab18ed38 409:90a6d6952d83
1 --- 1 ---
2 title: 'dav-sync push' 2 title: 'dav-sync push'
3 --- 3 ---
4 4
5 **`dav-sync push [-cld] <directory>`** 5 **`dav-sync push [-cldr] [-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
12 12
13 **`-l`** Lock the repository before accessing it. After `push` completed, the repository is unlocked 13 **`-l`** Lock the repository before accessing it. After `push` completed, the repository is unlocked
14 14
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
18
19 **`-r`** Remove resources not matching the tag filter

mercurial