32

I have a private repo. I noticed I cannot fork it. I cannot find any information that says I shouldn't be able to. When I go to Options the ability to fix this is disabled. I am guessing you need to pay or something which is fine, but it doesn't say that anywhere...

enter image description here

Cannot click!

pbuzz007
  • 747
  • 1
  • 5
  • 15

2 Answers2

51

I think you are talking about your organisation's private repo, right? As I didn't find this checkbox for personal private repositories.

If so, then you need to:

  1. go to your organisation's settings, Member privileges, and check "Allow forking of private repositories" there.

  2. go to your repo and you'll see "Allow forking" will be automatically checked after doing step 1,

    like this.

The process is also described here: https://docs.github.com/en/organizations/managing-organization-settings/managing-the-forking-policy-for-your-organization

Adam Azad
  • 11,171
  • 5
  • 29
  • 70
BL1N0V
  • 611
  • 5
  • 5
12

As of 1/9/2022, I had to update "Member Privileges" in the Organization first: enter image description here

And then, in the repository it seemed to automatically allow forking. Just note that you might want to update any other repository that you shouldn't be forked. enter image description here

References:

anAgent
  • 2,550
  • 24
  • 34