Skip to main content
GitHub Docs
Version:
Enterprise Server 3.11
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
Import source code
Command line
About source code imports
Local code
External Git repo
Subversion
Mercurial
Team Foundation Version Control
Administrative shell
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 from GitHub.com
Migrate organizations from 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 command line tools.
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
Importing from other version control systems with the administrative shell