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?
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?
It looks like you're new here. Sign in or register to get started.