Avoiding divergent changes arising from merge bot branches #6191
-
Merge bots like mergify like to create temporary branches in git repos in order to run CI. When running I can resolve this by calling Is it possible to just ignore a glob of branches when doing |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
That surprises me, I wouldn't expect jj to assign the commit in the new branch the same change ID. I don't suppose you have a public example? |
Beta Was this translation helpful? Give feedback.
-
A potential workaround here if we don't want to see the mergify branches is to use This would allow you to tell git to not grab certain patterns of branches by the default, and you can exclude Then you can do |
Beta Was this translation helpful? Give feedback.
-
Possibly related: #6038 |
Beta Was this translation helpful? Give feedback.
I think part of the answer is to just accept that divergent changes are fine. At least for immutable commits, there's nothing you can do about them, and there's little harm in them existing. We have #5800 and #5850 about making them not look so scary in
jj log
etc.