I have been struggling a lot in creating a pull request for a single commit. I have followed this SO link (command line), but still after creating the new branch i am seeing 9 unwanted commits in my pull request with the one i want. I want to create a request for only single commit.
Is this possible through interface OR if any other way to create single commit pull request
Your branches have diverged, and it's impossible to simply drag the top commit off the other branch with a pull request. What you need is a cherry pick: Check out the remote branch, create a new branch from that state, and then cherry pick your single commit onto the new branch. Then you can issue a pull request for the new 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