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