Skip to content

Command Line Tool to migrate GitLab Projects to GitHub Repositories

License

Notifications You must be signed in to change notification settings

anrichter/GitLabToGitHub

Repository files navigation

GitLabToGitHub

Easy to use Command Line Tool to migrate GitLab Projects to GitHub Repositories.

Select a GitLab Group and a Project, give a name for the new Repository, decide if it is a Private one and let the tool do their work.

Features

  • Browse GitLab Groups / Projects
  • Migrates:
    • Git Repository
    • Users / Collaborators with configurable Username Mapping
    • Milestones
    • Issues
    • Issue Comments
    • Labels
  • Log manual rework you have to do after Migration
  • Platform independent through .NET Core

Limitiations

  • Migrated Issues are creatd by Access Token User
  • Migrated Issues are created at Migration time
  • Collaborators are created but can't assigned to Issues until thei accept the invitation as a collaborator
  • Can't migrate attachments like images

How to use

  • Install .NET Core 3.1.100 SDK
  • Create a GitLab Access Token with Scope api
  • Create a GitHub Access Token with Scope repo
  • Clone the Repository
  • Copy appsettings.json to appsettings.production.json and adjust it
  • dotnet run -c Release

Open Source Libraries

About

Command Line Tool to migrate GitLab Projects to GitHub Repositories

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages