Skip to content

Instantly share code, notes, and snippets.

@cyhyraethz
cyhyraethz / mirror-gitlab-repo-to-github.txt
Last active November 11, 2021 04:04
Mirror GitLab Repo to GitHub
1. In your GitLab repository, navigate to Settings -> Repository
2. Click on the Expand button next to Mirroring repositories
3. Enter the HTTPS URL for your GitHub repository in this format:
https://username@github.com/username/repo-name.git
4. Select Push as the Mirror direction in the drop-down menu
5. Enter your Personal Access Token for GitHub in the Password field