I have forked a project form GitHub. I do my own development in the master
branch (by creating branches for developed features/fixes and merging them back to master
).
Now I created a branch bugfix-123
in my fork in order to fix an issue 123 in the original project. I want to create a new pull request in order to incorporate my fix into the original project. But I have noticed that the pull request does not contain only the bugfix itself, but also all my commits in the master
branch since the fork was created.
How can I create the pull request containing only the single commit? Do I have to create another fork for that? What should I have done differently in order to be able to create pull requests in the original projects and also to perform my own development of the forked version?