Skip to main content

Completing your live migration from GitHub Enterprise Server to GHE.com

Complete follow-up tasks so users can start using the migrated repository.

谁可以使用此功能?

Organization owners on GHE.com

注意

Enterprise Live Migrations is in 公共预览版 and subject to change.

After you have run a migration with the elm CLI tool, there are some follow-up tasks to complete.

Restore users' access

Because GitHub Enterprise Server and GHE.com use different provisioning and authentication systems, organization membership is not carried over between platforms. You will need to add users to the organization before you can reattribute activity to them in a migrated repository.

  1. If you created a new organization for the migration process, add members to the organization. You can do this manually, but many enterprises manage organization membership from their identity provider (IdP) by syncing enterprise teams with IdP groups.
  2. Add organization members to the migrated repositories.

Reattribute activity to users

使用 GitHub Enterprise Importer 运行迁移后,已迁移的存储库中的所有用户活动(Git 提交除外)都归属于称为模型的占位符标识。 For more information, see Mannequins and user activity.

Once user accounts have been added to the organization on GHE.com, you can invite users to reclaim a mannequin's activity. You can do this in the browser or, with the GEI extension of the GitHub CLI tool, reclaim mannequins in bulk without the invite process.

Reclaiming mannequins in the browser

  1. 在 GitHub 的右上角,单击个人资料图片,然后单击“ Your organizations”****。

  2. 单击以选择一个组织。

  3. 在组织名称下,单击 “Settings”****。 如果看不到“设置”选项卡,请选择“”下拉菜单,然后单击“设置”********。

    组织配置文件中选项卡的屏幕截图。 “设置”选项卡以深橙色标出。

  4. 在侧边栏的“Access”部分,单击“ Import/Export”****。

  5. To the right of the mannequin you want to reclaim, click Reattribute.

  6. In the search field, type the username of the organization member you want to attribute the mannequin's contributions to, then click the member.

    注意

    You can only send attribution invitations to user accounts that are already members of the organization.

  7. Click Invite. 默认情况下,组织成员会通过电子邮件接收邀请,在成员接受邀请之前,不会回收模型。

Reclaiming mannequins in bulk

You can install the GEI extension of the GitHub CLI to reclaim mannequins in bulk. See 回收 GitHub Enterprise Importer 的模型.

Reattribute Git activity

Authorship for Git commits is not associated with mannequins and cannot be attributed to GitHub users by reclaiming mannequins. Instead, commit authorship is attributed to user accounts on GitHub based on the email address that was used to author the commit in Git.

To reattribute Git activity on GHE.com, ensure the user's primary email address in your identity provider (IdP) matches the email address used for their commits. With Enterprise Managed Users, users cannot add email addresses to their user account on GitHub, so users will not be able to reattribute their Git commits independently.

Recreate organization settings

If you created a new organization for the migration process, restore settings such as policies, organization teams, and projects.