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?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.