Ævar Arnfjörð Bjarmason [off-list ref] writes:
On Fri, Jun 2, 2017 at 9:15 AM, Junio C Hamano [off-list ref] wrote:
quoted
Jeffrey Walton [off-list ref] writes:
quoted
Is there no switch? Its the most efficient way to accomplish the task.
This is a safety to help normal human users from hurting themselves,
and it does not make any sense to have "I have no name, so record
garbage, please" option, switch or setting that is different from
"Here is the name I want you to use when recording things".
The switch _is_ to set the names with whatever standard way.
Presumably OP doesn't want to mess with the env for whatever reason,
in that case:
git -c user.name=Nobody -c user.email=nobody@example.com
cherry-pick <commit>
Exactly. That is what I meant as one of the "whatever standard
way".