Search code examples
gitgithubgit-pullgit-fork

How to fork a GitHub repository if I'm the owner


I have a private repository for a collaborative project. I created the repository so I'm the repo owner. I need to fork and make pull requests to the project collaborator. I tried to add myself as a collaborator but GitHub says I can not be added as a collaborator as I'm the project owner. Also the fork icon is disabled and I can not make a fork.

I own the repo but it is a shared project where I need to fork and do my changes, then make a pull request.

Although this is not a coding question but code-related question, I think programmers are the right people to help me.


Solution

  • You can create a branch, push it and then create a PR from it. https://help.github.com/articles/creating-a-pull-request/