Skip to main content
GitHub Docs
Version:
Free, Pro, & Team
Search GitHub Docs
Search
Select language: current language is English
Open Search Bar
Close Search Bar
Open Menu
Open Sidebar
Migrations
/
Import source code
Home
Migrations
Overview
GitHub's migration tooling
Plan your migration
Migration paths
Locked repositories
Programmatic repository imports
Import source code
GitHub Importer
About GitHub Importer
Import a repository
Command line
About source code imports
Local code
External Git repo
Subversion
Mercurial
Team Foundation Version Control
GitHub Enterprise Importer
Understand GitHub Enterprise Importer
About GitHub Enterprise Importer
Migrate from Azure DevOps
About migrations
Overview of a migration
Manage access
Migrate repositories
Migrate from Bitbucket Server
About migrations
Overview of a migration
Manage access
Migrate repositories
Migrate between GitHub products
About migrations
Overview of a migration
Manage access
Migrate from Enterprise Server
Migrate repositories on GitHub.com
Migrate organizations on GitHub.com
Complete migration
Access migration logs
Reclaim mannequins
Troubleshoot migrations
ghe-migrator
About ghe-migrator
Export from GHES
Export from GitHub.com
Migrate data
Migrations
/
Import source code
Importing source code
To import source code only, you can use GitHub Importer or command line tools.
Using GitHub Importer
About GitHub Importer
Importing a repository with GitHub Importer
Using the command line to import source code
About source code imports using the command line
Adding locally hosted code to GitHub
Importing an external Git repository using the command line
Importing a Subversion repository
Importing a Mercurial repository
Importing a Team Foundation Version Control repository