How to hide the my one-off fork repo in Github?

17,605

Solution 1

You have two possibilities:

  1. 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.

  1. 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.

  1. Click on new repository
  2. In the top click on Import a repository
  3. Now paste the clone link of the repo that you want to fork and choose the private repo

Done!

Share:
17,605

Related videos on Youtube

Y.N
Author by

Y.N

Developer. Python, SQL, Delphi.

Updated on September 16, 2022

Comments

  • Y.N
    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
    Y.N almost 9 years
    Yes, I can remove. But can I hide?
  • filype
    filype almost 9 years
    No, 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
    rapt over 6 years
    Read-only != hide.