Skip to main content

GitHub への移行パス

他の製品から GitHub への移行、または GitHub 製品間の移行に使用できるパスの概要を参照してください。

GitHub

へのパスの移行について

GitHub 製品間 (GitHub Enterprise Server から GitHub Enterprise Cloud) で、または Bitbucket Server や GitLab などの別のコード ホスティング プラットフォームから GitHub に移行する場合、コード、コードの履歴、過去のすべての会話やコラボレーションなどの作業を移動したいことがあります。

移行を計画するには、移行先と移行元を検討してください。 これらの考慮事項で、移行のパスが決まります。 一部の移行パス用に、ソース、履歴、メタデータを移行できる専門ツールを用意しています。 その他の場合は、より単純な "ソースと履歴" または "ソース スナップショット" の移行を実行する必要があります。

一部の移行パスには、エキスパート主導の移行でのみ使用できるツールが必要です。 詳細については、アカウント マネージャーに GitHub の営業チーム に問い合わせるか、GitHub Expert Services Web サイトを参照してください。

推奨事項では、ソース、履歴、メタデータなど、可能であれば最高レベルの忠実性が必要であると想定しています。

GitHub.comへの移行

GitHub.com への移行のスコープとツールを確認できます。これには、GitHub Enterprise Cloud への移行が含まれます。 追加情報や注意事項を確認することもできます。

  •         [GitHub Enterprise Server 3.4.1. またはそれ以降から GitHub.com](#github-enterprise-server-341-or-newer-to-githubcom)
    
  •         [GitHub Enterprise Server 3.4.0 またはそれ以前から GitHub.com へ](#github-enterprise-server-340-or-older-to-githubcom)
    
  •         [GitHub.com から GitHub.com](#githubcom-to-githubcom)
    
  •         [Azure DevOps Services (Azure DevOps Cloud) から GitHub.com](#azure-devops-services-azure-devops-cloud-to-githubcom)
    
  •         [Azure DevOps Server から GitHub.com へ](#azure-devops-server-to-githubcom)
    
  •         [Bitbucket Cloud (Bitbucket.org) から GitHub.comに変更](#bitbucket-cloud-bitbucketorg-to-githubcom)
    
  •         [Bitbucket Server または Bitbucket データ センターから GitHub.com](#bitbucket-server-or-bitbucket-data-center-to-githubcom)に変更
    
  •         [GitLab から GitHub.com に変更](#gitlab-to-githubcom)
    
  •         [任意のGit リポジトリからGitHub.com に変更](#any-git-repository-to-githubcom)
    
  •         [任意のMercurialリポジトリをGitHub.comに追加](#any-mercurial-repository-to-githubcom)
    
  •         [任意のSubversion (SVN) リポジトリからGitHub.com に変更](#any-subversion-svn-repository-to-githubcom)
    
  •         [任意のTeam Foundation バージョン管理 (TFVC) リポジトリからGitHub.com に変更](#any-team-foundation-version-control-tfvc-repository-to-githubcom)
    
  •         [任意の Perforce リポジトリから GitHub.com に変更](#any-perforce-repository-to-githubcom)
    
  •         [GitHub.com に関するその他のリポジトリ](#any-other-repository-to-githubcom)
    
  •         [GHE.com から GitHub.com](#ghecom-to-githubcom)
    

GitHub Enterprise Server 3.4.1 またはそれ以降から GitHub.com

GitHub Enterprise Server 3.4.0. またはそれ以前から GitHub.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • Git またはメタデータ アーカイブが 40 GB を超えるリポジトリの場合は、大規模なリポジトリが Enterprise Cloud Importer の制限内に収まるように、GitHub Expert Services の利用を検討してください。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、任意の Git リポジトリから GitHub.com への移行に関するセクションをご覧ください。

GitHub.com から GitHub.com

GitHub.comからの移行には GitHub Enterprise Cloudが含まれます。 このパスには、Enterprise Managed Users の導入や、マネージド 企業間の移動が含まれます。

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**:GitHub Enterprise Importer または GitHub Expert Services
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • Git またはメタデータ アーカイブが 40 GB を超えるリポジトリの場合は、大規模なリポジトリが Enterprise Cloud Importer の制限内に収まるように、GitHub Expert Services の利用を検討してください。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、任意の Git リポジトリから GitHub.com への移行に関するセクションをご覧ください。

Azure DevOps Services (Azure DevOps Cloud) から GitHub.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール:** GitHub Enterprise Importer
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/using-github-enterprise-importer)」
    

Azure DevOps Server から GitHub.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: Azure DevOps Services への移行後、GitHub Enterprise Importer
    
  •         **その他の情報**:
    
  •         **注意事項**: Azure DevOps Services に最初に移行できない場合は、代わりに "ソースと履歴" の移行を実行する必要があります。 詳細については、「[任意の Git リポジトリから GitHub.com への移行](#any-git-repository-to-githubcom)」を参照してください。
    

Bitbucket Cloud (Bitbucket.org) から GitHub.comに変更

Bitbucket Server または Bitbucket データ センターから GitHub.comに変更

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツールセット**: GitHub Enterprise Importer
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • Git またはメタデータ アーカイブが 40 GB を超えるリポジトリの場合は、大規模なリポジトリが Enterprise Cloud Importer の制限内に収まるように、GitHub Expert Services の利用を検討してください。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、任意の Git リポジトリから GitHub.com への移行に関するセクションをご覧ください。

GitLab から GitHub.comに変更

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **詳細情報**: [GitHub Expert Services](https://github.com/services/) Web サイト
    
  •         **注意事項**:
    
    • GitHub Enterprise Importer を使って GitLab リポジトリを GitHub に移行する場合は、GitHub Expert Services チームにお問い合わせください。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、任意の Git リポジトリから GitHub.com への移行に関するセクションをご覧ください。

任意のGit リポジトリからGitHub.com に変更

任意のMercurial リポジトリからGitHub.com に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Mercurial、Git CLI、Python
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」
    

任意のSubversion (SVN) リポジトリからGitHub.com に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール:** Subversion と Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository)」
    

任意のTeam Foundation バージョン管理 (TFVC) リポジトリからGitHub.com に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Azure Repos および Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」
    

任意の Perforce リポジトリから GitHub.com に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**`git-p4`、次にGit CLI
    
  •         **その他の情報**:
    
    • Git ドキュメントの git-p4
    •       [AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github#importing-a-git-repository-with-the-command-line)
      

任意の他のリポジトリを GitHub.comに追加する

  •         **範囲**: ソース スナップショット
    
  •         **ツール**: GitHub CLI または Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github)」
    

GHE.com から GitHub.com

現在、このパスは公式ツールではサポートされていません。 GitHub Expert Services にお問い合わせください。

GHE.com への移行

データ所在地付き GitHub Enterprise Cloud に移行する場合、移行先は GHE.com です。

GHE.com への移行では、GitHub.com への移行と似たツールを使います。 ただし、GitHub Importer は使用できません。

以下のリンクに従って、GHE.com への移行のスコープとツール、また追加情報や注意事項を確認してください。

  •         [GitHub Enterprise Server 3.4.1 以降から GHE.com](#github-enterprise-server-341-or-newer-to-ghecom)
    
  •         [GitHub Enterprise Server 3.4.0 以前のバージョンから GHE.com への移行](#github-enterprise-server-340-or-older-to-ghecom)
    
  •         [GitHub.com から GHE.com](#githubcom-to-ghecom)
    
  •         [Azure DevOps Services (Azure DevOps Cloud) から GHE.com](#azure-devops-services-azure-devops-cloud-to-ghecom)
    
  •         [Azure DevOps Server から GHE.com](#azure-devops-server-to-ghecom)
    
  •         [Bitbucket Cloud (Bitbucket.org) から GHE.com](#bitbucket-cloud-bitbucketorg-to-ghecom)
    
  •         [Bitbucket Server または Bitbucket Data Center を GHE.com へ](#bitbucket-server-or-bitbucket-data-center-to-ghecom)
    
  •         [GitLab へ GHE.com](#gitlab-to-ghecom)
    
  •         [任意の Git リポジトリから GHE.com](#any-git-repository-to-githubcom)
    
  •         [任意の Mercurial リポジトリから GHE.com](#any-mercurial-repository-to-ghecom)
    
  •         [任意の Subversion (SVN) リポジトリを GHE.com に配置する](#any-subversion-svn-repository-to-ghecom)
    
  •         [任意の Team Foundation バージョン管理 (TFVC) リポジトリから GHE.comへ](#any-team-foundation-version-control-tfvc-repository-to-ghecom)
    
  •         [任意の Perforce リポジトリから GHE.com](#any-perforce-repository-to-ghecom)
    
  •         [その他のリポジトリから GHE.com](#any-other-repository-to-ghecom)
    

GitHub Enterprise Server 3.4.1 以降のものGHE.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「任意の Git リポジトリから GHE.com への移行」を参照してください。

GitHub Enterprise Server 3.4.0 以前のバージョンから GHE.com への移行

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「任意の Git リポジトリから GHE.com への移行」を参照してください。

GitHub.com から GHE.com へ

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**:GitHub Enterprise Importer または GitHub Expert Services
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「任意の Git リポジトリから GHE.com への移行」を参照してください。

Azure DevOps Services (Azure DevOps Cloud) に GHE.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/using-github-enterprise-importer)」
    

Azure DevOps Server から GHE.com

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: Azure DevOps Services への移行後、GitHub Enterprise Importer
    
  •         **その他の情報**:
    
  •         **注意事項**: Azure DevOps Services に最初に移行できない場合は、代わりに "ソースと履歴" の移行を実行する必要があります。 詳細については、「[任意の Git リポジトリから GHE.com への移行](#any-git-repository-to-githubcom)」を参照してください。
    

Bitbucket Cloud (Bitbucket.org) から GHE.com への移行

Bitbucket Server または Bitbucket Data Center を GHE.com へ

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Enterprise Importer
    
  •         **その他の情報**:
    
    * GitHub Enterprise Importer を使用する * GitHub Expert Services Web サイト
  •         **注意事項**:
    
    • 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「任意の Git リポジトリから GHE.com への移行」を参照してください。

GitLab から GHE.com への

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: GitHub Expert Services にお問い合わせください
    
  •         **詳細情報**: [GitHub Expert Services](https://github.com/services/) Web サイト
    
  •         **注意事項**:
    
    • エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「任意の Git リポジトリから GHE.com への移行」を参照してください。

任意の Git リポジトリから GHE.com

任意の Mercurial リポジトリから GHE.com

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Mercurial、Git CLI、Python
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」
    

任意の Subversion (SVN) リポジトリを GHE.com へ

  •         **範囲**: ソースと履歴
    
  •         **ツール**:Subversion と Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository)」
    

GHE.com に任意の Team Foundation Version Control (TFVC) リポジトリ

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Azure Repos、その後、Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」
    

任意の Perforce リポジトリへ GHE.com

  •         **範囲**: ソースと履歴
    
  •         **ツール**: `git-p4`、その後、Git CLI
    
  •         **その他の情報**:
    
    • Git ドキュメントの git-p4
    •       [AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github#importing-a-git-repository-with-the-command-line)
      

その他のリポジトリを GHE.com に

  •         **範囲**: ソース スナップショット
    
  •         **ツール**: GitHub CLI または Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github)」
    

GitHub Enterprise Server の移行

追加の情報や注意事項を含め、GitHub Enterprise Server への移行のスコープとツールを確認できます。

  •         [{data variables.product.prodname_dotcom_the_website %}からGitHub Enterprise Serverに変更](#githubcom-to-github-enterprise-server)
    
  •         [GitHub Enterprise Server から GitHub Enterprise Server に変更](#github-enterprise-server-to-github-enterprise-server)
    
  •         [Azure DevOps からGitHub Enterprise Server に変更](#azure-devops-to-github-enterprise-server)
    
  •         [Bitbucket Cloud (Bitbucket.org) から GitHub Enterprise Serverに変更](#bitbucket-cloud-bitbucketorg-to-github-enterprise-server)
    
  •         [Bitbucket Server または Bitbucket データ センターから GitHub Enterprise Serverに変更](#bitbucket-server-or-bitbucket-data-center-to-github-enterprise-server)
    
  •         [GitLabからGitHub Enterprise Serverに変更](#gitlab-to-github-enterprise-server)
    
  •         [任意のGit リポジトリから GitHub Enterprise Server に変更](#any-git-repository-to-github-enterprise-server)
    
  •         [任意のMercurial リポジトリからGitHub Enterprise Server に変更](#any-mercurial-repository-to-github-enterprise-server)
    
  •         [任意のSubversion (SVN) リポジトリを GitHub Enterprise Server へ移行](#any-subversion-svn-repository-to-github-enterprise-server)
    
  •         [任意のTeam Foundation バージョン管理 (TFVC) リポジトリからGitHub Enterprise Server への移行](#any-team-foundation-version-control-tfvc-repository-to-github-enterprise-server)
    
  •         [任意のPerforceリポジトリをGitHub Enterprise Serverに接続](#any-perforce-repository-to-github-enterprise-server)
    
  •         [他の任意のリポジトリを GitHub Enterprise Server に選択](#any-other-repository-to-github-enterprise-server)
    
  •         [GHE.com から GitHub Enterprise Server](#ghecom-to-github-enterprise-server)
    

{data variables.product.prodname_dotcom_the_website %}からGitHub Enterprise Serverに変更

GitHub.comからの移行には GitHub Enterprise Cloudが含まれます。

GitHub Enterprise Server から GitHub Enterprise Server に変更

Azure DevOps からGitHub Enterprise Server に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)」
    

Bitbucket Cloud (Bitbucket.org) から GitHub Enterprise Serverに変更

  •         **範囲**: ソースと履歴
    
  •         **ツール:** Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)」
    

Bitbucket Server または Bitbucket データ センターから GitHub Enterprise Serverに変更

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール:**`bbs-exporter` (エキスパート主導の移行のみ)、その後 `ghe-migrator`
    
  •         **その他の情報**:
    
    * GitHub Expert Services Web サイト * GitHub Enterprise Server へのデータの移行
  •         **注意事項**: エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、「[任意の Git リポジトリから GitHub Enterprise Server に変更](#any-git-repository-to-github-enterprise-server)」をご覧ください。
    

GitLabからGitHub Enterprise Serverへ変更

  •         **範囲**:ソース、履歴、メタデータ
    
  •         **ツール**: `gl-exporter` (エキスパート主導の移行のみ)、その後 `ghe-migrator`
    
  •         **その他の情報**:
    
    * GitHub Expert Services Web サイト * GitHub Enterprise Server へのデータの移行
  •         **注意事項**: エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、「[任意の Git リポジトリから GitHub Enterprise Server に変更](#any-git-repository-to-github-enterprise-server)」をご覧ください。
    

任意のGit リポジトリから GitHub Enterprise Server に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)」
    

任意のMercurial リポジトリからGitHub Enterprise Server に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Mercurial、Git CLI、Python
    
  •         **詳細情報:** 「[AUTOTITLE](/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」
    

任意のSubversion (SVN) リポジトリからGitHub Enterprise Serverに変更

  •         **範囲**: ソースと履歴
    
  •         **ツール:** Subversion と Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository)」
    

任意のTeam Foundation バージョン管理 (TFVC) リポジトリからGitHub Enterprise Server に変更

  •         **範囲**: ソースと履歴
    
  •         **ツール**: Azure Repos および Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」
    

任意のPerforceリポジトリをGitHub Enterprise Serverに接続する場合

  •         **範囲**: ソースと履歴
    
  •         **ツール**`git-p4`、次にGit CLI
    
  •         **その他の情報**:
    
    • Git ドキュメントの git-p4
    •       [AUTOTITLE](/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github#importing-a-git-repository-with-the-command-line)
      

その他のリポジトリを GitHub Enterprise Server へ接続する

  •         **範囲**: ソース スナップショット
    
  •         **ツール**: GitHub CLI または Git CLI
    
  •         **詳細情報:** 「[AUTOTITLE](/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github)」
    

GHE.com へ GitHub Enterprise Server

現在、このパスは公式ツールではサポートされていません。 GitHub Expert Services にお問い合わせください。