Skip to main content
GitHub Docs
Version:
Free, Pro, & Team
Search GitHub Docs
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
Update commit authors
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
Migration support
Migrate between GitHub products
Migrate from Azure DevOps
Migrate from Bitbucket Server
Prepare to migrate
Manage access
Grant migrator role
Prepare to run a migration
Migrate organizations
GitHub.com to Enterprise Cloud
Migrate repositories
ADO to Enterprise Cloud
Bitbucket Server to Enterprise Cloud
GitHub.com to Enterprise Cloud
Enterprise Server to Enterprise Cloud
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
Updating commit author attribution 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