aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-11-17 00:15:38 +0100
committerBond_009 <bond.009@outlook.com>2020-11-17 00:15:38 +0100
commit9868c05f76f32d96d9dd5e3624fc71ee75994ccd (patch)
treebc01ac782016fbda63b310b99ccfa18e6922438c /README.md
parent05a4d2190166a710bd6d45343403c9f79cebe9e7 (diff)
Add README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..911a516
--- /dev/null
+++ b/README.md
@@ -0,0 +1,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`