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

Is there a merge strategy that combines --no-ff and --ff-only?

bracco23 February 19, 2020

I was looking at merge strategies for pull requests and I did not find one that satisfied my need.

What I want is to block each pull request unless they are ahead of the target branch, making it a candidate to be merged in --ff-only mode, but actually always create the merge commit regardless, so basically the pull request should be treated as --ff-only but the actual merge should be performed as if the option --no-ff is passed, kinda like the option squash + --ff-only but without the squashing.

Is there anything similar? Would it be an interesting merge strategy?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events