Merge methods per branch #8196
Replies: 23 comments 5 replies
|
Same for me, my team is accidentally squashing commits to main. |
|
This would be ideal for our team too. |
|
Absolutely, this would be an incredibly useful feature for us |
|
This is exactly what our team wants to do. Makes it easier for everyone to not need to do a manual squash (which can be quite easily forgotten) |
|
Same here, this is what our team need! |
|
We had a new major of tRPC brewing for >6 months and it was a massive pain point for us to keep the branches up-to-date. What we wanted was to:
|
|
+1 I need to define allowed and default merge method individually for some named branches. |
|
+1 |
|
+1, this would be useful |
|
+100 how is this not a feature still |
|
+1 |
|
We are lacking this feature. This is very handy to use when following the |
|
Duplicate of https://github.com/orgs/community/discussions/20583 |
|
+1 |
|
+1 |
|
+1, my team really needs this! |
|
+1 |
|
+1 |
|
+1 |
|
If I understand correctly, this is something that I was looking for as well. I was trying to configure the following in the 'main' branch rule set:
This feature would really help to keep the branch history cleaner. |
|
+1 |
This comment was marked as spam.
This comment was marked as spam.
|
Funny, that's already almost 5 years passed but we are still dealing merge conflicts and noise from master to develop PRs because people forgetting to manually switch merge strategy. |



Uh oh!
There was an error while loading. Please reload this page.
It would be great if "allowed merge methods" were configurable per branch. This would allow workflows such as:
I believe this is a common workflow to have a "development" or "release" branch. Often we only want to allow squash merging into these branches to squash poor git histories.
However, when we want to "release" by merging "dev" / "release" into "main" then we don't want to squash merge, otherwise all the granular history is lost.
All reactions