Importing Repositories into GitHub

A few days ago I moved my private Git repositories from Bitbucket to GitHub. I expected a manual workflow with a local clone of my old repository, adding then new repository as a remote and then pushing my code to GitHub. While this is possible, GitHub did a great job to make this task much simpler.

Right in the place where you create a new repository is another option called Import repository:

import repo

A click on this option starts a simple workflow, that will do all the steps to import your repository. All it needs to know is the current location of your repository and the new name:

specify the source

 
If you import a private repository, GitHub ask for your credentials to clone it:
enter the password

 
That’s it. Now you need to wait a few minutes until the import is done.
import ready

 
I’m still surprised how user-friendly this technical task is solved and hope more companies follow this example.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.