You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 weeks ago | |
---|---|---|
README.md | 2 months ago | |
adversarial_mirror.sh | 3 weeks ago |
README.md
adversarial_mirroring
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
./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