Browse Source

Add README

master
Colin Reeder 2 years ago
parent
commit
e10ee7125f
3 changed files with 11 additions and 1 deletions
  1. +2
    -1
      .gitignore
  2. +8
    -0
      README.md
  3. +1
    -0
      repos/README.txt

+ 2
- 1
.gitignore View File

@@ -1,4 +1,5 @@
node_modules
/work
/repos
/repos/*
!/repos/README.txt
/allowed_keys.txt

+ 8
- 0
README.md View File

@@ -0,0 +1,8 @@
# clement
## a little tool for Git mirroring

### Setup
- In the `repos` folder, run `git clone --mirror {source}`
- In the cloned repo, run `git remote add target {target}`
- Add a secret string to `allowed_keys.txt`
- Add a webhook on the source, POST to {clement}/{repo}/update?key={secret}

+ 1
- 0
repos/README.txt View File

@@ -0,0 +1 @@
This is where the mirror clones go.

Loading…
Cancel
Save