在手册页中 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.
...
是否有配置设置可以在本地将默认设置回-x
,并允许-r
禁用它?我找不到,但我可能错过了。