update readme
This commit is contained in:
parent
8232ffb6bc
commit
7a461eb125
17
README.md
17
README.md
|
@ -1,3 +1,20 @@
|
||||||
# adversarial_mirroring
|
# adversarial_mirroring
|
||||||
|
|
||||||
adversarial mirroring of repositories that might want to fight back
|
adversarial mirroring of repositories that might want to fight back
|
||||||
|
|
||||||
|
## notes
|
||||||
|
|
||||||
|
- dont use urls ending in `.git` the script will explode
|
||||||
|
- the way this works is by copying all files from one branch to the other
|
||||||
|
- that means u lose all git history. the price u pay for progress
|
||||||
|
|
||||||
|
pros:
|
||||||
|
- if the repo fights back they cant just force-push their changes away. they will forever stay in the mirror
|
||||||
|
|
||||||
|
# usage
|
||||||
|
|
||||||
|
```sh
|
||||||
|
./adverserial_mirror.sh source_git_repo target_git_repo main_branch
|
||||||
|
```
|
||||||
|
|
||||||
|
./daemon.sh https://github.com/discord/erlpack https://gitdab.com/luna/adverserial-discord-api-spec master
|
Loading…
Reference in New Issue