Given a commit with the message "foo", i.e. with only a summary part, I do git cherry-pick -x the_commit
. The result is a new commit with message
fooNow that's not good, because it is a two-line summary, which seems like a bug in git.
(cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886)
But how can I make git make the comment look like below without editing the comment manually?
foo
(cherry picked from commit eb42a6475d2c2e4fff7a1b626ce6e27eec21e886)