Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to archive a repository on GitHub

Instead of closing/deleting I want to archive one of my git repositories on GitHub. I have seen on multiple projects a yellow banner with the message "This repository has been archived by the owner. It is now read-only." but I can't find out how to achieve this.

Examples:
https://github.com/Homebrew/legacy-homebrew
https://github.com/semantic-release/commit-analyzer-v2

Screenshot: Yellow archived banner on GitHub



Does anyone know how to do this or is it just possible for repositories with a big community?

like image 229
Jan Fässler Avatar asked Oct 15 '17 13:10

Jan Fässler


1 Answers

It’s within the generic Settings of your repository. In there you’ll find the Danger Zone at the very bottom of the website. There is a new button called Archive this repository.

Danger Zone

like image 106
mzdr Avatar answered Oct 14 '22 17:10

mzdr