r/github • • 1d ago

Question is detaching a private fork from upstream repo a paid feature now?

Post image

a bit surprised that my request to detach from upstream is rejected.

0 Upvotes

13 comments sorted by

2

u/Ok_Woodpecker_9104 23h ago

you dont need support for this on a public fork, i did it myself in august. settings -> general -> danger zone -> leave fork network. there is no api for it, the forks detach endpoint just 404s

not sure the button shows up on a private fork tho, if not then yeah its back to support

one thing i learned the hard way, commits pushed while it was still a fork never count on your contribution graph. detaching later doesnt backfill them either. the next push after detaching counted in under a minute

1

u/v0id09 17h ago

The button is greyed out for private fork tho. Support seems the only way.

20

u/ImDevinC 1d ago

No, getting dedicated support for specific topics is a paid feature, which is exactly what this says. They linked you to the GitHub Community Discussions which is the place to ask questions like this without having a paid plan.

5

u/lamyjf 1d ago

If you want to detach a fork, you have to ask support, and they used to do if for free. I think that is what the issue is.

8

u/KafalayUcayGidey 1d ago

What about `settings > Danger Zone > Leave fork network`
After this you can set visibility to private.

I'm on Github Pro tho so I don't know if this is a paid feature?
Or if this is not the "detaching" that's meant here.

6

u/ImDevinC 1d ago

I don't have GitHub Pro, and I see that option as well

2

u/majora2007 23h ago

This doesn't work if someone forked your fork. 

1

u/KTrain5369 21h ago

Because now they're part of the fork network.

Forks of forks can PR back to their upstream's upstream iirc

1

u/majora2007 21h ago

Yeah they are.

I'm actually in this situation myself where I forked then made radical changes (I'm an API Wrapper) but someone forked me, so every time I raise a PR it's a pain (as it defaults to the upstream repo and I always forget to check that before I hit Open).

4

u/ImDevinC 1d ago

And this is now a self-service option in the repository settings. It's not something a support rep should have to do

2

u/NatoBoram 1d ago

Wasn't there a button to do it for you? I remember there was a button

1

u/esiy0676 1d ago

What do you mean "detach"? What happens if you clone and push?

1

u/v0id09 17h ago

Update: I relied to their email and asked since when is detaching a private fork a paid feature? They backed off and apologized for the confusing communication (whatever that means).