git cherry-pick -x default

In the man page for git cherry-pick:

...

-x
    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. ...

-r
    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.

  • Cherrypicking versus Rebasing
  • Git Cherry-pick vs Merge Workflow
  • How to display the conflict resolution of a cherry-picked commit?
  • Rebase merge to have never happened
  • Why doesn't git cherry-pick override modification in current branch if their is different?
  • Git move single commit from feature_branch to master
  • Example of a backdoor submitted to an open source project?
  • combine old git history into initial commit
  • Gitlab CI fails to schedule builds for new commits
  • Submodule triggers a build
  • Bitbucket cloning private git repository
  • git rebase basics
  • 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.