How to Delete a Fork in Github
In this article
Forked repositories can accumulate over time in your GitHub account, making it cluttered and harder to navigate. Whether you've completed a project, no longer need a fork, or simply want to clean up your repository list, deleting unnecessary forks is a straightforward process.
This tutorial will walk you through the complete process of permanently removing a forked repository from your GitHub account. Once deleted, the fork cannot be recovered, so make sure you've saved any important changes before proceeding.
Here's how to delete a fork in GitHub
- Navigate to your GitHub profile by clicking your profile picture in the top-right corner.
- Select 'Your repositories' from the dropdown menu that appears.
- Find and click on the forked repository you want to delete from your repository list.
- Click on the 'Settings' tab located in the top navigation bar of the repository.
- Scroll down to the bottom of the Settings page to locate the 'Danger Zone' section.
- Click the 'Delete this repository' button within the Danger Zone area.
- Press the 'I want to delete this repository' button to proceed with deletion.
- Check the box next to 'I have read and understand these effects' to acknowledge the consequences.
- Type the exact repository name in the text field when prompted to confirm deletion.
- Click the final 'Delete this repository' button to complete the deletion process.
- Enter your GitHub password if prompted and click 'Confirm' to finalize the action.
Your turn to show how it works.
Build a walkthrough of your product with Saltfish, then share it with your customers.
Frequently Asked Questions
No, once you delete a forked repository, it cannot be recovered through GitHub. The deletion is permanent and irreversible. If you need the repository again, you'll have to fork it anew from the original source.



