Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Squash some commits in the pull request but not all of them

Gurata AB
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 25, 2019

Is there a way to merge some of the commits when merging a pull request but not all of them?

I know that one of the merge strategies is to squash all of the commits into one when merging. However, what I am looking for is to be able to squash all commits that have a specific template for the message e.g "update something *" into one commit which is the latest commit.  How can I achieve that?

Is it a server side git hook? or a custom merge strategy? Is that even possible?

 

      

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events