Creating Pull Requests from Local Clones

Here is a workflow I often find myself in:

The simple solution: just fork it. If I had made a fork in the beginning instead of cloning someone else’s repository, my new branch would have been evidence enough for Github to give me the opportunity to make a pull request.

There is a way to get out of this mess, but you still have to create a fork. Lets jump back to when I checked-out a new branch and committed some changes.

  • I make a new branch and fix/add the bug/feature.

At this point, we have to tell Github that we actually forked this repository: