Project Hosting and Collaboration Alternatives
GitHub to GitLab migration the easy way

GitHub to GitLab migration the easy way

7/11/2023 · Fernando Diaz

What this post added

This post details the process of migrating projects from GitHub to GitLab using GitLab's built-in importer. It outlines the types of data that can be migrated (repository description, Git data, branch protection rules, collaborators, issues, pull requests, wikis, milestones, labels, release notes, attachments, comments, LFS objects, reviews, and events), the prerequisites for migration (Maintainer role, matching email addresses), and a step-by-step guide to performing the import. It also covers the manual migration of GitHub Actions to GitLab CI/CD pipelines by creating a `.gitlab-ci.yml` file and defining jobs that replicate the functionality of the original Actions, including examples for linting, smoke tests, and unit tests.

Read the original post ↗