I forked a project on GitHub. Being a pure Java source, I had to adapt it to turn it into an eclipse project before working on it. I made 3 commits to reflect these changes.
I then finished adapting the actual program, and I want to send a pull-request back to the developer requesting these changes.
My commit history is as follows:
How do I send a pull-request omitting #1, #3 and #4?
In the "Branch" menu, choose the branch that contains your commits. Above the list of files, click Pull request. Use the base branch dropdown menu to select the branch you'd like to merge your changes into, then use the compare branch drop-down menu to choose the topic branch you made your changes in.
You can commit changes on a pull request branch that was created from a fork of your repository with permission from the pull request creator. You can only make commits on pull request branches that: are opened in a repository that you have push access to and that were created from a fork of that repository.
You should have a separate branch of development for each of these features - "eclipse project" and "feature implementation". Then send a pull request for the "feature implementation" back to the source.
Since you have not done that, you can cut a branch called feature
from the point where you cloned and cherry-pick
commits 2, 5, 6, 7 and 8. Then send a pull request for this branch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With