How to Archive Github Repository
By Pravin•
Step 1: Rename the old GitHub repository
- Go to your old repository on GitHub:
https://github.com/YOUR_USERNAME/YOUR_PROJECTNAME - Click Settings
- Under General → Repository name, change it to:
YOUR_PROJECTNAME-legacy(recommended)- or
YOUR_PROJECTNAME-v1
- Click Rename
Step 2: Archive the old repository
- Still in Settings of the renamed repo
- Scroll down to Danger Zone
- Click Archive this repository
- Confirm
(The old code is now safely preserved and marked as archived.)
Comments
No comments yet. Be the first to comment!
Leave a Comment
Your comment will be visible after approval.