For some workflows, you want to backport a bunch of changes (but not all) from another branch. In this case, you must not record a merge, because that will prevent any changes you didn't backport from being merged later.
git update-ref -d MERGE_HEAD will do this and is trivial to add after merge.
For some workflows, you want to backport a bunch of changes (but not all) from another branch. In this case, you must not record a merge, because that will prevent any changes you didn't backport from being merged later.
git update-ref -d MERGE_HEAD
will do this and is trivial to add after merge.