I would like to squash some commits that are older than a "conflicting" merge. E.g.:
main branch: A--B--C--D--G--H dev branch: \\-E--F----/