RookiePro
RookiePro

Reputation: 633

Migrate from github enterprise to github.com

We have a few repositories and forks on a trial version of Github Enterprise. I want to evaluate how to migrate from Github enterprise to Github.com (into a paid for organization, say)

The only resource I found was how to perform the migration in the opposite direction https://help.github.com/enterprise/2.0/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/

I have contacted github.com asking the same questions as below and I am waiting for their response.

Note that we have the backups of the enterprise instance performed using the backup tools provided by github (I think it is called ghe-backup)

Thanks

Upvotes: 10

Views: 5262

Answers (2)

joeln
joeln

Reputation: 3643

http://www.alexhadik.com/blog/2016/5/26/migrating-github-repositories-with-gitmover appears to offer a solution: GitMover is "a simple Python script that takes Git repos on any type of GitHub installation, and copies issues, labels and milestones from one to the other. It's the perfect tool to help automate the open-sourcing of an internal project."

Upvotes: 1

Ian Reasor
Ian Reasor

Reputation: 51

You should be able to use the steps in the linked document in the reverse order as well:

  • Create an empty repository at github.com
  • Create a clone of the enterprise repository on your local.
  • Add github.com as a remote reference on your local clone.
  • Push all references to the github.com repository.

Upvotes: 5

Related Questions