从github企业迁移到github.com [英] Migrate from github enterprise to github.com

查看:151
本文介绍了从github企业迁移到github.com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在Github Enterprise的试用版上有几个存储库和分支。我想评估如何从Github企业迁移到Github.com(例如,为组织付费)



我发现的唯一资源是如何执行迁移相反的方向
https://help.github.com/enterprise/2.0/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/

我已经联系github.com,询问以下相同的问题,我正在等待他们的回复。


  • 我们如何将资料库从github Enterprise迁移到github.com? (相当肯定,git clone --bare和git push --mirror将完成这项工作)

  • 如果我也迁移叉,那么我们如何确保
  • 如何迁移我们为我们的存储库配置的webhook和服务?

  • 如何将转储请求/问题是什么? (与上面链接的文章说我们需要使用Github API,我对这个解决方案没问题)

  • 我们可以迁移团队和用户吗? (猜测可能不是)


    请注意,我们使用github提供的备份工具备份企业实例(我认为它被称为ghe-backup)



    谢谢

    解决方案

    能够以相反顺序使用链接文档中的步骤: 在github.com上创建一个空的存储库

  • >
  • 在您的本地创建企业存储库的克隆。

  • 将github.com添加为本地克隆上的远程引用。 b
  • 将所有引用推送到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.

  • How do we migrate a repository from github Enterprise to github.com? (fairly certain that a git clone --bare and a git push --mirror will do the job)
  • If I migrate forks as well, how do we make sure that the relationship between the original and forks is maintained?
  • How do I migrate the webhooks and services we configured for our repositories?
  • How do I transfer the Pull requests/Issues? (article I linked to above says we need to use the Github API, I am OK with this solution)
  • Can we migrate teams and users? (guessing, probably not)

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

解决方案

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.

这篇关于从github企业迁移到github.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆