mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
Minor fixes
This commit is contained in:
parent
ad72c218c3
commit
e69970ed56
10 changed files with 108 additions and 107 deletions
|
@ -7,18 +7,18 @@ permalink: /versioning/
|
|||
This page describes how to keep track of all changes to calendars and
|
||||
address books with **git** (or any other version control system).
|
||||
|
||||
The repository must be initialized by running ``git init`` in the file
|
||||
The repository must be initialized by running `git init` in the file
|
||||
system folder. Internal files of Radicale can be excluded by creating the
|
||||
file **.gitignore** with the following content:
|
||||
file `.gitignore` with the following content:
|
||||
```
|
||||
.Radicale.cache
|
||||
.Radicale.lock
|
||||
.Radicale.tmp.*
|
||||
```
|
||||
|
||||
The configuration option ``hook`` in the ``storage`` section must be set to
|
||||
The configuration option `hook` in the `storage` section must be set to
|
||||
the following command:
|
||||
```sh
|
||||
```shell
|
||||
git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue