Franklin Yu
Franklin Yu

Reputation: 9948

Cherry-pick with customized old SHA-1 line automatically

If I cherry-pick original commit deadbeef with -x, Git would append a line like

(cherry picked from commit deadbeef)

Is there any way to customize this message? Like I prefer

Backported from: deadbeef

Maybe some custom Git alias?

Upvotes: 1

Views: 93

Answers (1)

Shakil
Shakil

Reputation: 4630

you can always use

git commit --amend

to change your commit message.

Upvotes: 1

Related Questions