# GitHub への移行パス

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

## 移行パスについて GitHub

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

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

一部の移行パスには、エキスパート主導の移行でのみ使用できるツールが必要です。 詳細については、 [GitHub の営業チーム](https://github.com/enterprise/contact) でアカウント マネージャーに問い合わせるか、 [GitHub Expert Services](https://github.com/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.com 宛先 GitHub.com](#githubcom-to-githubcom)
* [Azure DevOps Services (Azure DevOps Cloud) から GitHub.com へ](#azure-devops-services-azure-devops-cloud-to-githubcom)
* [
  GitHub.com への Azure DevOps Server](#azure-devops-server-to-githubcom)
* [Bitbucket Cloud (Bitbucket.org) GitHub.com](#bitbucket-cloud-bitbucketorg-to-githubcom)
* [
  GitHub.com への Bitbucket Server または Bitbucket Data Center](#bitbucket-server-or-bitbucket-data-center-to-githubcom)
* [GitLab to GitHub.com](#gitlab-to-githubcom)
* [任意の Git リポジトリ GitHub.com](#any-git-repository-to-githubcom)
* [
  GitHub.com への任意の Mercurial リポジトリ](#any-mercurial-repository-to-githubcom)
* [任意の Subversion (SVN) リポジトリへの GitHub.com](#any-subversion-svn-repository-to-githubcom)
* [
  GitHub.com への任意の Team Foundation Version Control (TFVC) リポジトリ](#any-team-foundation-version-control-tfvc-repository-to-githubcom)
* [
  GitHub.com への任意の Perforce リポジトリ](#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 Importer
* **その他の情報**:
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
  * [
    GitHub Expert Services
    ](https://github.com/services/) ウェブサイト
* **注意事項**:
  * Git またはメタデータ アーカイブが 40 GB を超えるリポジトリの場合は、大規模なリポジトリが Enterprise Cloud Importer の制限内に収まるように、GitHub Expert Services の利用を検討してください。
  * エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、[任意の Git リポジトリから GitHub.com への移行](#any-git-repository-to-githubcom)に関するセクションをご覧ください。

### GitHub.com から GitHub.com に変更します

GitHub.comからの移行には、GitHub Enterprise Cloudが含まれます。 このパスには、 Enterprise Managed Users の導入や管理対象企業間の移動が含まれます。

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

### Azure DevOps Services (Azure DevOps Cloud) へ GitHub.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **詳細情報:** 「[GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)」

### Azure DevOps ServerからGitHub.comへ

* **範囲**:ソース、履歴、メタデータ
* **Tooling:** Azure DevOps Services への移行、GitHub Enterprise Importer
* **その他の情報**:
  * Microsoft Docsで[Azure DevOps Server から Azure DevOps Services にデータを移行する](https://learn.microsoft.com/en-us/azure/devops/migrate/migration-overview?view=azure-devops)
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
* **注意事項**: Azure DevOps Services に最初に移行できない場合は、代わりに "ソースと履歴" の移行を実行する必要があります。 詳細については、「[任意の Git リポジトリからGitHub.comへの移行」を参照してください](#any-git-repository-to-githubcom)。

### Bitbucket Cloud (Bitbucket.org) GitHub.com

* **範囲**: ソースと履歴
* **ツール：** Git CLI または GitHub Importer
* **その他の情報**:
  * [コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)
  * [GitHub Importer について](/ja/migrations/importing-source-code/using-github-importer/about-github-importer)

### Bitbucket サーバーまたは Bitbucket データ センター GitHub.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **その他の情報**:
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
  * [
    GitHub Expert Services
    ](https://github.com/services/) ウェブサイト
* **注意事項**:
  * Git またはメタデータ アーカイブが 40 GB を超えるリポジトリの場合は、大規模なリポジトリが Enterprise Cloud Importer の制限内に収まるように、GitHub Expert Services の利用を検討してください。
  * エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳しくは、[任意の Git リポジトリから GitHub.com への移行](#any-git-repository-to-githubcom)に関するセクションをご覧ください。

### GitLabへ GitHub.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **詳細情報:** 「[GitLab から GitHub への移行](/ja/migrations/using-github-enterprise-importer/migrate-from-gitlab)」

### 任意の Git リポジトリ GitHub.com

* **範囲**: ソースと履歴
* **ツール：** リポジトリにパブリック インターネット経由でアクセスできる場合は Git CLI またはGitHub Importer
* **その他の情報**:
  * [コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)
  * [GitHub Importer について](/ja/migrations/importing-source-code/using-github-importer/about-github-importer)

### GitHub.com への任意の Mercurial リポジトリ

* **範囲**: ソースと履歴
* **ツール**: Mercurial、Git CLI、Python
* **詳細情報:** 「[Mercurial リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」

### GitHub.com への 任意の Subversion (SVN) リポジトリ

* **範囲**: ソースと履歴
* **ツール:** Subversion と Git CLI
* **詳細情報:** 「[Subversion リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository)」

### GitHub.com への任意の Team Foundation Version Control (TFVC) リポジトリ

* **範囲**: ソースと履歴
* **ツール**: Azure Repos および Git CLI
* **詳細情報:** 「[Team Foundation バージョン管理リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」

### GitHub.com への任意の Perforce リポジトリ

* **範囲**: ソースと履歴
* **ツール**`git-p4`、次にGit CLI
* **その他の情報**:
  * Git ドキュメントの [git-p4](https://git-scm.com/docs/git-p4)
  * [ローカルでホストされているコードを GitHub に追加する](/ja/enterprise-server@3.22/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
* **詳細情報:** 「[ローカルでホストされているコードを GitHub に追加する](/ja/enterprise-server@3.22/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 宛先 GHE.com](#github-enterprise-server-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)
* [
  GHE.com への Azure DevOps Server](#azure-devops-server-to-ghecom)
* [Bitbucket Cloud (Bitbucket.org) GHE.com](#bitbucket-cloud-bitbucketorg-to-ghecom)
* [
  GHE.com への Bitbucket Server または Bitbucket Data Center](#bitbucket-server-or-bitbucket-data-center-to-ghecom)
* [GitLab to GHE.com](#gitlab-to-ghecom)
* [任意の Git リポジトリ GHE.com](#any-git-repository-to-githubcom)
* [
  GHE.com への任意の Mercurial リポジトリ](#any-mercurial-repository-to-ghecom)
* [任意の Subversion (SVN) リポジトリへの GHE.com](#any-subversion-svn-repository-to-ghecom)
* [
  GHE.com への任意の Team Foundation Version Control (TFVC) リポジトリ](#any-team-foundation-version-control-tfvc-repository-to-ghecom)
* [
  GHE.com への任意の Perforce リポジトリ](#any-perforce-repository-to-ghecom)
* [
  GHE.com へのその他のリポジトリ](#any-other-repository-to-ghecom)

### GitHub Enterprise Server から GHE.com に変更します

* **範囲**:ソース、履歴、メタデータ
* **ツール：**
  * **バージョン 3.4.1 以降**: GitHub Enterprise Importer
  * **バージョン 3.17 以降 (サポートされているパッチ リリース)** : GitHub Enterprise Importer または Enterprise Live Migrations
* **その他の情報**:
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
  * [GitHub Enterprise Server から GHE.com へのライブ マイグレーションについて](/ja/enterprise-server@3.22/migrations/elm/about-live-migrations)
  * [
    GitHub Expert Services
    ](https://github.com/services/) ウェブサイト
* **注意事項**:
  * 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
  * エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「[任意の Git リポジトリから GHE.com への移行](#any-git-repository-to-ghecom)」を参照してください。

### GitHub.com から GHE.com に変更します

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール:\*\*GitHub Enterprise Importer または GitHub Expert Services
* **その他の情報**:
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
  * [
    GitHub Expert Services
    ](https://github.com/services/) ウェブサイト
* **注意事項**:
  * 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
  * エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「[任意の Git リポジトリから GHE.com への移行](#any-git-repository-to-ghecom)」を参照してください。

### Azure DevOps Services (Azure DevOps Cloud) へ GHE.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **詳細情報:** 「[GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)」

### Azure DevOps ServerからGHE.comへ

* **範囲**:ソース、履歴、メタデータ
* **Tooling:** Azure DevOps Services への移行、GitHub Enterprise Importer
* **その他の情報**:
  * Microsoft Docsで[Azure DevOps Server から Azure DevOps Services にデータを移行する](https://learn.microsoft.com/en-us/azure/devops/migrate/migration-overview?view=azure-devops)
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
* **注意事項**: Azure DevOps Services に最初に移行できない場合は、代わりに "ソースと履歴" の移行を実行する必要があります。 詳細については、「[任意の Git リポジトリからGHE.comへの移行](#any-git-repository-to-githubcom)」を参照してください。

### Bitbucket Cloud (Bitbucket.org) GHE.com

* **範囲**: ソースと履歴
* **ツール**: Git CLI
* **その他の情報**:
  * [コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)

### Bitbucket サーバーまたは Bitbucket データ センター GHE.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **その他の情報**:
  * [GitHub Enterprise Importer を使用する](/ja/enterprise-server@3.22/migrations/using-github-enterprise-importer)
  * [
    GitHub Expert Services
    ](https://github.com/services/) ウェブサイト
* **注意事項**:
  * 約 40 GB を超える複雑なリポジトリの場合は、GitHub Expert Services に問い合わせることをお勧めします。
  * エキスパート主導の移行が適切でない場合は、影響を受けるリポジトリの 「ソースと履歴」 の移行を代わりに実行できます。 詳細については、「[任意の Git リポジトリから GHE.com への移行](#any-git-repository-to-ghecom)」を参照してください。

### GitLabへ GHE.com

* **範囲**:ソース、履歴、メタデータ
* \*\*ツール：\*\*GitHub Enterprise Importer
* **詳細情報:** 「[GitLab から GitHub への移行](/ja/migrations/using-github-enterprise-importer/migrate-from-gitlab)」

### 任意の Git リポジトリ GHE.com

* **範囲**: ソースと履歴
* **ツール**: Git CLI
* **その他の情報**:
  * [コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)

### GHE.com への任意の Mercurial リポジトリ

* **範囲**: ソースと履歴
* **ツール**: Mercurial、Git CLI、Python
* **詳細情報:** 「[Mercurial リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」

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

* **範囲**: ソースと履歴
* **ツール:** Subversion と Git CLI
* **詳細情報:** 「[Subversion リポジトリをインポートする](/ja/enterprise-server@3.22/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
* **詳細情報:** 「[Team Foundation バージョン管理リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」

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

* **範囲**: ソースと履歴
* **ツール**`git-p4`、次にGit CLI
* **その他の情報**:
  * Git ドキュメントの [git-p4](https://git-scm.com/docs/git-p4)
  * [ローカルでホストされているコードを GitHub に追加する](/ja/enterprise-server@3.22/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
* **詳細情報:** 「[ローカルでホストされているコードを GitHub に追加する](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/adding-locally-hosted-code-to-github)」

## GitHub Enterprise Serverへの移行

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

* [
  GitHub.com 宛先 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)
* [
  GitHub Enterprise Server への Bitbucket Server または Bitbucket Data Center](#bitbucket-server-or-bitbucket-data-center-to-github-enterprise-server)
* [GitLab to GitHub Enterprise Server](#gitlab-to-github-enterprise-server)
* [任意の Git リポジトリ GitHub Enterprise Server](#any-git-repository-to-github-enterprise-server)
* [
  GitHub Enterprise Server への任意の Mercurial リポジトリ](#any-mercurial-repository-to-github-enterprise-server)
* [任意の Subversion (SVN) リポジトリへの GitHub Enterprise Server](#any-subversion-svn-repository-to-github-enterprise-server)
* [
  GitHub Enterprise Server への任意の Team Foundation Version Control (TFVC) リポジトリ](#any-team-foundation-version-control-tfvc-repository-to-github-enterprise-server)
* [
  GitHub Enterprise Server への任意の Perforce リポジトリ](#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)

### GitHub.com から GitHub Enterprise Server に変更します

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

* **範囲**:ソース、履歴、メタデータ
* **ツール** 組織の移行 API、次に `ghe-migrator`
* **その他の情報**:
  * [GitHub.com からの移行データのエクスポート](/ja/enterprise-server/migrations/using-ghe-migrator/exporting-migration-data-from-githubcom)
  * [GitHub Enterprise Server へのデータの移行](/ja/enterprise-server/migrations/using-ghe-migrator/migrating-data-to-github-enterprise-server)

### GitHub Enterprise Server から GitHub Enterprise Server に変更します

* **範囲**:ソース、履歴、メタデータ
* **ツール** 組織の移行 API、次に `ghe-migrator`
* **その他の情報**:
  * [GitHub Enterprise Server からの移行データのエクスポート](/ja/enterprise-server/migrations/using-ghe-migrator/exporting-migration-data-from-github-enterprise-server)
  * [GitHub Enterprise Server へのデータの移行](/ja/enterprise-server/migrations/using-ghe-migrator/migrating-data-to-github-enterprise-server)

### Azure DevOpsをGitHub Enterprise Serverに移行する

* **範囲**: ソースと履歴
* **ツール**: Git CLI
* **詳細情報:** 「[コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/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
* **詳細情報:** 「[コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server@3.22/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)」

### Bitbucket サーバーまたは Bitbucket データ センター GitHub Enterprise Server

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

### 任意の Git リポジトリ GitHub Enterprise Server

* **範囲**: ソースと履歴
* **ツール**: Git CLI
* **詳細情報:** 「[コマンド ラインを使って外部の Git リポジトリをインポートする](/ja/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-an-external-git-repository-using-the-command-line)」

### GitHub Enterprise Server への任意の Mercurial リポジトリ

* **範囲**: ソースと履歴
* **ツール**: Mercurial、Git CLI、Python
* **詳細情報:** 「[Mercurial リポジトリをインポートする](/ja/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-mercurial-repository)」

### GitHub Enterprise Server への 任意の Subversion (SVN) リポジトリ

* **範囲**: ソースと履歴
* **ツール:** Subversion と Git CLI
* **詳細情報:** 「[Subversion リポジトリをインポートする](/ja/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-subversion-repository)」

### GitHub Enterprise Server への任意の Team Foundation Version Control (TFVC) リポジトリ

* **範囲**: ソースと履歴
* **ツール**: Azure Repos および Git CLI
* **詳細情報:** 「[Team Foundation バージョン管理リポジトリをインポートする](/ja/enterprise-server/migrations/importing-source-code/using-the-command-line-to-import-source-code/importing-a-team-foundation-version-control-repository)」

### GitHub Enterprise Server への任意の Perforce リポジトリ

* **範囲**: ソースと履歴
* **ツール**`git-p4`、次にGit CLI
* **その他の情報**:
  * Git ドキュメントの [git-p4](https://git-scm.com/docs/git-p4)
  * [ローカルでホストされているコードを GitHub に追加する](/ja/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
* **詳細情報:** 「[ローカルでホストされているコードを GitHub に追加する](/ja/enterprise-server@3.22/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にお問い合わせください。