For migrating issues and merge requests from GitLab projects to GitHub repositories.
Instructions
- Create empty repository in GitHub
- Clone GitLab repository:
git clone --mirror <gitlab_repo>
- Change directory:
cd <repo_dir>
- Push to GitHub repository:
git push --mirror --no-verify <github_repo>
- In GitHub, goto Settings > Branches, then rename default branch to
main
- Download and extract the GitLab project export to a new working directory
- Edit
settings.json
- Execute
gitlab-2-github.py