On Fri, Jun 2, 2017 at 9:15 AM, Junio C Hamano <gits...@pobox.com> wrote: > Jeffrey Walton <noloa...@gmail.com> writes: > >> 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=nob...@example.com cherry-pick <commit>