I think ‘git rebase —-update-refs’ is the better way to go for this scenario
Sweet, looks like this is pretty new (2022).
Running a git command on one branch and multiple branches being affected is really unusual for me! This really does look like it is designed for just this problem, though. Simple overview: https://blog.hot-coffee.dev/en/blog/git_update_refs/
It breaks if you amend the top commit instead of adding a new one.
Is there any good guide on how to solve the issue which OP solves?
Sweet, looks like this is pretty new (2022).
Running a git command on one branch and multiple branches being affected is really unusual for me! This really does look like it is designed for just this problem, though. Simple overview: https://blog.hot-coffee.dev/en/blog/git_update_refs/