I am currently working on a project that is a spinoff (fork) from a framework I have been working on.
This project is intended to be pretty generic, but now I need to fork the codebase again for a client of mine.
At this moment, I have created a custom branch for my client, but I'd rather have a standalone repository for this.
Outline of the situation:
Note: when trying to 'fork a fork' in Github, you will receive a notification that you have already forked the project:
The TOS states you agree to allow viewing and forking. It doesn't state that you agree to allow redistribution or use. If the terms don't explicitly state that you allow those things, then unless your license allows them they aren't allowed.
To follow along, browse to a public repository that you want to fork. At the top right of the page, you will find the Fork button. Click on the button and wait for a few seconds. You will see that the newly forked repository gets created under your GitHub account.
In github (and in git's mental framework) you clone and fork repositories. There's no way to fork a branch; that doesn't make sense. Just fork the project, and work off the branch you're interested in. You don't lose anything by doing so.
This is now very possible. You just go to the fork you want to fork and click "fork" like you would always do. This only works if you don't have a different fork of that repository in your account already, though. If you do, you have to delete it.
Answered in a comment by iFreilicht
Since this is the correct answer now, it is better to highlight it.
I contacted GitHub support about this 'issue' and they confirmed this is not possible. Also, it is very unlikely that such a feature will be implemented in the future.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With