Y.N
Y.N

Reputation: 5257

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

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?

Upvotes: 17

Views: 30465

Answers (6)

Timmmm
Timmmm

Reputation: 96586

One solution I've seen is to make a separate organisation for your forks that are just for PRs.

I think this is an example:

It's not as good as if Github would just let you mark repos as "not really mine", but I might try it.

Upvotes: 1

Prof.Plague
Prof.Plague

Reputation: 737

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 private repo

Done!

Upvotes: 5

Emil Laine
Emil Laine

Reputation: 42828

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.

Upvotes: 10

bobpaul
bobpaul

Reputation: 390

So long as everything in your fork has been merged into the parent repo, there's no harm in deleting your fork.

Upvotes: 3

Y.N
Y.N

Reputation: 5257

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.

Upvotes: 2

filype
filype

Reputation: 8380

You have to remove the repository (fork). This is available in the repository settings.

https://help.github.com/articles/deleting-a-repository/

Upvotes: 4

Related Questions