This question is in reference to Atlassian Documentation: Create a pull request
Can some one help me, how can we do a create pull request for some chosen commit but not for all, while merging the code?
Community moderators have prevented the ability to post new answers.
When you have multiple commits on a branch, you can't create a pull request for only one of those commits. What you can do is create a new branch for that commit and then create the pull request from there. To add that commit to a new branch, you can use the git cherry-pick command, which is explained in more detail here: What does cherry-picking a commit with git mean?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.