> These are rather important commits by themselves and better keep them separated in your history.
Which you could already do with a regular merge. Just because the commits are fine as part of a branch doesn't mean you want to keep them as part of mainline.