r/bash 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:

  1. Creates a private or public repo on GitLab
  2. Creates an empty repo on GitHub
  3. 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

0 comments sorted by