Sed
See
Git custom command to backport commits
When backporting commits in git replace cherry picked commit line with custom message to indicate it is a backported commit.
When backporting commits in git replace cherry picked commit line with custom message to indicate it is a backported commit.