You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is this repo still a fork from kushinauwu/OBF-Homepage-New? Shouldn't it live directly in the OBF org? I don't know how to move it. If we did move it, would we lose history?
It does live directly in the OBF org. The fact that it is a fork (which really only means that it started as one) is merely some meta-information that GitHub keeps around in order to change and tailor certain behaviors (in particular for pull requests) from their defaults for repos that didn't start as a fork.
Now, arguably, those changes in default behavior for pull requests are neither desirable or useful anymore here, because there is no intent to keep up this fork with the upstream repo; in fact, what would normally be referred to as "upstream" is in our case simply a now-unmaintained repository that at some point we cloned this one from. So I would agree with what is probably your real question, namely can we please remove the metadata fact that this is a fork so that pull request behavior reverts to the default for "non-forked" repos.
However, GitHub does not allow one to "clear" the "this is a fork" status. The way to achieve this would be to create a local backup the repo, then recreate one from the backup. This could risk losing the issue and pull request tracker history, though.
In the Subject field, typ 'Unfork'. A blue banner should appear with 'Our virtual assistant can help'. Click the banner.
A chat should appear on screen with the Virtual Assistant. Paste the URL of the repository.
_Note: make sure to paste the URL to the forked repository, so not the original repository. It should look like github.com/username/forked-repo-name.
Specify what should be done with Child forks:
If username/forked-repo-name has child forks, what should we do with these?
Commonly you'll want to bring the child forks along with you when detaching your fork from the upstream repository.
Bring the child forks with the repository
Leave the child forks behind
Select one of the options and send the form.
Within a few minutes to half an hour you should get a confirmation in your e-mail.
Now you've successfully unforked a GitHub repository! The repository stays in your account as a personal repository, without ties to the original repository.
Activity
hlapp commentedon Jan 11, 2022
It does live directly in the OBF org. The fact that it is a fork (which really only means that it started as one) is merely some meta-information that GitHub keeps around in order to change and tailor certain behaviors (in particular for pull requests) from their defaults for repos that didn't start as a fork.
Now, arguably, those changes in default behavior for pull requests are neither desirable or useful anymore here, because there is no intent to keep up this fork with the upstream repo; in fact, what would normally be referred to as "upstream" is in our case simply a now-unmaintained repository that at some point we cloned this one from. So I would agree with what is probably your real question, namely can we please remove the metadata fact that this is a fork so that pull request behavior reverts to the default for "non-forked" repos.
However, GitHub does not allow one to "clear" the "this is a fork" status. The way to achieve this would be to create a local backup the repo, then recreate one from the backup. This could risk losing the issue and pull request tracker history, though.
erik-whiting commentedon Aug 10, 2022
According to this how-to article, "unforking" can be done via a chatbot. I'll copy and paste the steps from that page for convenience:
I hope this helps!