I've read the fine manual, and read through quite a few questions here, but I'm still not certain how to handle submitting patches via pull requests properly.
I'm using GitHub for Windows (but I'm fine with using the command line if needed).
Here's what I'm doing, and where I'm getting confused:
- Forked the original GitHub project to create my own.
- Made change A, which I want the original project to include.
- Sent a pull request for A, which they accepted, so it's now part of the original project.
- Made change B, which is of no use to them, so I don't want them to include it in their version.
- Made change C, which I do want them to use.
- More commits, some of which are of value to them, some of which are not.
What is the proper order of forking/branching/pull request/merging to:
- Make sure I have a version with ALL of my changes.
- Make sure I can share certain changes with the upstream project.
- Once I make change B in my master branch, any new branches would include it, so how do I either send just the relevant changes for C? Or do I need to somehow create a new branch based on what upstream still has in their copy?
I mostly just want to make sure I'm not causing the upstream devs extra work having to go back and cherry-pick certain changes. The easier I make it for them to fix the bugs the better, then everyone is happy!