Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can we create partially commit's pull request?

Dharmendra Sehgal August 31, 2016

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?

1 answer

0 votes
Caitlin Cecic
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2016

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events