I have created a branch in my GitHub repo: https://github.com/markmnl/FalconUDP, so there are now two branches: \"master\" and \"single-threaded\". I realise now I will neve
I guess your question is specifically: how to create a fork of your own project in the same user account in GitHub. You cannot use the user interface of the website, but you can create a new repository and push the relevant branches to it:
Create new repo, completely empty, without even a README https://github.com/new
Add the new repo as a new remote in your local clone of the original project, let's call this remote fork
for example:
git remote add fork NEW_REPO_URL
Push your single-threaded
branch to it:
git push -u fork single-threaded
Delete this branch from the original project, assuming your remote is called origin
:
git push origin :single-threaded
If you really want to fork, the way would be:
Now you have two options:
git push single-threaded new-remote/master
Here's how I would do it:
FalconUDP-st
?) locallysingle-threaded
branch back into master
single-threaded
branchFalconUDP-st
on GitHubYou can issue pull requests on the GitHub website, or you can just cherry pick across your local clones.