Page tree
Skip to end of metadata
Go to start of metadata

If you leave the college, you may want to save your GitHub Enterprise repositories to your computer or move them to GitHub.com.  ITS won't delete your repositories immediately after you leave, but once your account expires, you won't be able to access the files.  

Considerations

If you want to migrate your repositories to GitHub.com, consider whether you want them to be public or private.  GitHub.com charges for private repositories, so you may not want to import a lot of private work into GitHub.com.  Many assignments from classes should be private because they are derived from textbooks or contain answers to problems that may be used in the future.  In addition, make sure you don't accidentally post password or key-pairs as part of your repository.

 

GitHub Enterprise to GitHub.com

You can reverse the instructions here to migrate your repositories to GitHub.com: https://help.github.com/enterprise/2.2/admin/articles/moving-a-repository-from-github-com-to-github-enterprise/  

Per Ian Reasor at StackOverflow: http://stackoverflow.com/a/34623326

You should be able to use the steps in the linked document in the reverse order as well:

  • Create an empty repository at github.com
  • Create a clone of the enterprise repository on your local.
  • Add github.com as a remote reference on your local clone.
  • Push all references to the github.com repository.

 

GitHub Enterprise to Local Computer

You can also download your GitHub Enterprise Repositories by either cloning the repository or downloading a zip to your computer.