GitHub – How to Archive Repositories

github

GitHub does not allow users to archive repositories and the available plans have fixed limits for the amount of repositories one may have.

If I need to host more repositories than I'm allowed to and Some of those repositories are inactive, I would like to archive those repositories while keeping all the important information (issues, wiki, commits, …). Then if I need to use one of those projects again, it would be good to have a way to activate that repository again.

Does anyone knows of a method or third party solution that allows me to achieve something similar to the above?

I work on different small projects that I would like to host on GitHub as private repositories. Those projects became inactive quickly but sometime I need to go back to one of them and fix a bug or do so changes.

Best Answer

Nowadays, GitHub supports archiving repositories.

Archiving repositories

You can archive a repository to make it read-only for all users and indicate that it's no longer actively maintained. You can also unarchive repositories that have been archived.
...

  1. On GitHub, navigate to the main page of the repository.
  2. Under your repository name, click ⚙ Settings.

    enter image description here

  3. Under "Danger Zone", click Archive this repository or Unarchive this repository.

    enter image description here

  4. Read the warnings.
  5. Type the name of the repository you want to archive or unarchive.

    enter image description here

  6. Click I understand the consequences, archive this repository.

Read more at GitHub help on Archiving a GitHub repository