在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
禁用它?我找不到一个,但我可能错过了它。