ヒント: GitHub Importer は、すべてのインポートに適しているわけではありません。 たとえば、既存のコードがプライベート ネットワークにホストされている場合、GitHub Importer はそれにアクセスできません。 このような場合、Git リポジトリであればコマンドラインを使用したインポート、他のバージョン管理システムからインポートするプロジェクトであれば外部のソース コード移行ツールをおすすめします。
If you'd like to match the commits in your repository to the authors' GitHub personal accounts during the import, make sure every contributor to your repository has a GitHub account before you begin the import.
リポジトリと個々のファイルには、サイズの制限があります。 詳しい情報については「ディスクの容量とは何か?」を参照してください。
- ページの右上角で をクリックし、[Import repository] を選択します。
- [Your old repository's clone URL] に、インポートするプロジェクトの URL を入力します。
- Choose your personal account or an organization to own the repository, then type a name for the repository on GitHub.
- 新しいリポジトリをパブリックにするかプライベートにするかを指定します。 詳細は「リポジトリの可視性を設定する」を参照してください。
- 入力した情報を確認し、[Begin import] をクリックします。
- If your old project requires credentials, type your login information for that project, then click Submit. If SAML SSO or 2FA are enabled for your user account on the old project, enter a personal access token with repository read permissions in the "Password" field instead of your password.
- 既存のプロジェクトのクローン URL で複数のプロジェクトがホストされいる場合は、インポートしたいプロジェクトを選択して [Submit] をクリックします。
- プロジェクトに 100 MB を超えるファイルがある場合は、Git Large File Storage を使用して大きいファイルをインポートするかどうかを選択し、[Continue] をクリックします。
リポジトリのインポートが完了すると、メールが届きます。