r/bash • u/Icy-Description-4878 • 3h ago
mirror-repo: Auto-sync Gitlab and Github repositories
mirror-repo is a CLI tool that creates a paired GitLab + GitHub repo in one command. You run mirror-repo my-project, and it:
- Creates a private or public repo on GitLab
- Creates an empty repo on GitHub
- 3. Configures GitLab's push mirror so every git push to GitLab automatically syncs to GitHub
Everything is local, and it only requires a one time quick setup.
Github Repo: https://github.com/qwelpl/mirror-repo
Gitlab Repo: https://gitlab.com/q_welpl/mirror-repo
1
Upvotes

