docs/src/push.md

Sat, 05 Aug 2017 10:19:53 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 05 Aug 2017 10:19:53 +0200
changeset 278
c9096eb3554c
parent 273
c743721d566f
child 282
3070d72f54af
permissions
-rw-r--r--

refines commands.md

dav-sync push
=============

**`push [-cld] <directory>`**

Pushes all local changes to the server. This uploads all locally modified files and deletes all locally deleted files on the server.

If conflict detection is not disabled, all files that are also modified on the server will be skipped.

**`-c`** Disable conflict detection. This always overrides files on the server

**`-l`** Lock the repository before accessing it. After `push` completed, the repository is unlocked

**`-d`** Don't lock the repository

mercurial