1
0
mirror of synced 2025-12-23 21:07:12 -05:00
Files
docs/content/github/importing-your-projects-to-github/importing-a-repository-with-github-importer.md
Jason Etcovitch caaee7a124 Update all files to use {% data %} (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00

3.2 KiB

title, intro, redirect_from, versions
title intro redirect_from versions
Importing a repository with GitHub Importer If you have a project hosted on another version control system, you can automatically import it to GitHub using the GitHub Importer tool.
/articles/importing-from-other-version-control-systems-to-github/
/articles/importing-a-repository-with-github-importer
free-pro-team
*

{% tip %}

Tip: GitHub Importer is not suitable for all imports. For example, if your existing code is hosted on a private network, our tool won't be able to access it. In these cases, we recommend importing using the command line for Git repositories or an external source code migration tool for projects imported from other version control systems.

{% endtip %}

If you'd like to match the commits in your repository to the authors' GitHub user accounts during the import, make sure every contributor to your repository has a GitHub account before you begin the import.

{% data reusables.repositories.migrating-from-codeplex %}

{% data reusables.repositories.repo-size-limit %}

  1. In the upper-right corner of any page, click {% octicon "plus" aria-label="Plus symbol" %}, and then click Import repository. Import repository option in new repository menu
  2. Under "Your old repository's clone URL", type the URL of the project you want to import. Text field for URL of imported repository
  3. Choose your user account or an organization to own the repository, then type a name for the repository on GitHub. Repository owner menu and repository name field
  4. Specify whether the new repository should be public or private. For more information, see "Setting repository visibility." Public or private repository radio buttons
  5. Review the information you entered, then click Begin import. Begin import button
  6. If your old project was protected by a password, type your login information for that project, then click Submit. Password form and Submit button for password-protected project
  7. If there are multiple projects hosted at your old project's clone URL, choose the project you'd like to import, then click Submit. List of projects to import and Submit button
  8. If your project contains files larger than 100 MB, choose whether to import the large files using Git Large File Storage, then click Continue. Git Large File Storage menu and Continue button

You'll receive an email when the repository has been completely imported.

Further reading