Christopher Chiche Christopher Chiche - 1 month ago 12
Git Question

Transfer gist repo to github

I am working on a small project with gist and since it is growing I would like to put it on github.

Let's suppose that:



The ideal solution would be one that pushes my changes on both the gist and the github repository.

Answer

Github now has a new feature - import from another repository. So the steps are much simplified:

  1. Create a new, blank repository
  2. Use the import feature and specify the URL of the repository.
  3. Profit!

Update:

You don't have to create a repo. The + button in the top right corner now has 'Import Repository' as an option.

screenshot from github