blob: 911a5167eeb7e6e05d3a06b3f08aad8b15e785fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# git-mirror
**git-mirror** is a command-line program to keep local git mirrors up to date with their origin.
## Configuration
### Example configuration file
```toml
default_path = "/srv/git"
[[projects]]
url = "https://github.com/Bond-009/git-mirror.git"
[[projects]]
url = "https://git.zx2c4.com/cgit"
description = "A hyperfast web frontend for git repositories written in C."
```
### Example crontab entry
Execute git-mirror every 15 with the given config.
`*/15 * * * * git-mirror -c /srv/git/config.toml`
|