U-M GitLab Retirement Support


How can I export my repository data from GitLab?

To export a repository, click the download iconĀ  and then choose the format you want to export. The file will then download.

How do I transition a repository from GitLab to GitHub?

Inside your GitHub organization, create an empty private repo with the same name as the GitLab repo that you want to transfer. On your local copy of the GitLab repository, navigate to the .git/config file and find the lines that look similar to the following:

[remote "origin"]
url = [email protected]:team-name/repo-name.git
fetch = +refs/heads/*:refs/remotes/origin/*

Replace the original url with your new GitHub repo url, either in HTTPS or SSH format. Do a git push: "git push --all". All code and commit history will be pushed to the new GitHub repository. You can then archive the GitLab repo to make it read-only.

How do I set up a GitHub account?

Follow the steps found on the GitHub page for Getting Started.

How do I become a member of a GitHub org?

View the GitHub Getting Started page to find your next steps.

How can I create new GitHub repositories?

See Creating a new repository - GitHub Enterprise Cloud Docs

Do I need owner-level access to migrate a GitLab repository?

No, you only need read access to migrate a repository to GitHub.

GitHub Documentation