git cherry-pick -x default

In the man page for git cherry-pick:


    When recording the commit, append a line that says "(cherry picked
    from commit …)" to the original commit message in order to indicate
    which commit this change was cherry-picked from. ...

    It used to be that the command defaulted to do -x described above,
    and -r was to disable it. Now the default is not to do -x so this
    option is a no-op.


Is there a config setting to locally set the default back to -x, and allow -r to disable it? I couldn’t find one, but I may have missed it.

  • what is the equivalent in TFS of git cherry-pick
  • Cherrypicking versus Rebasing
  • How do I go to a specific commit using git-subtree?
  • Git: how to push changes made to only certain files?
  • Can't cherry pick (error)
  • Why does this cherry-pick have a conflict?
  • How to determine last merged branch in git?
  • ldap authentication with gitblit 1.0
  • CocoaPods - pod setup http request failed
  • git behind proxy: remote HEAD refers to nonexistent ref, unable to checkout
  • Incremental backups with git bundle, for all branches
  • Modifying apache to prevent public accessibility of .git folder
  • One Solution collect form web for “git cherry-pick -x default”

    Short of making an alias for git cherry-pick -x, no, this is not possible.

    (Fun fact: The default was changed in commit abd6970.)

    Git Baby is a git and github fan, let's start git clone.