How to hide the my one-off fork repo in Github?
Solution 1
You have two possibilities:
- Delete remote, leave local
You can "hide" the repository from your GitHub profile by deleting the repository from GitHub, but leaving the local repository on your computer (or somewhere else).
You can then later re-add that local repo to GitHub if needed.
- Make it private
You can make the repository private (by first duplicating it) so that others won't see it on your profile, but it's still there, only you can see it.
Solution 2
You have to remove the repository (fork). This is available in the repository settings.
https://help.github.com/articles/deleting-a-repository/
Solution 3
At 08 Nov 2017 Github post a new feature - archiving-repositories
Read the doc. Now you can move your unused and one-off repos to read-only archive.
Solution 4
The simplest way is to create a repository and then import the repo.
- Click on
new repository
- In the top click on
Import a repository
- Now paste the clone link of the repo that you want to fork and choose the private repo
Done!
Related videos on Youtube
Comments
-
Y.N over 1 year
How to hide my one-off fork repo in Github?
I've forked the public repo, make the changes and pull request back to the parent repo. The parent repo owner merged my request.
My forked repo is one-off, I don’t want to see it in my list.
Can I hide it?
-
Y.N almost 9 yearsYes, I can remove. But can I hide?
-
filype almost 9 yearsNo, you can't hide the repository from your public profile. I often fork something, submit a pull request then remove the repo, I got the impression that's what you wanted to do.
-
rapt over 6 yearsRead-only != hide.