On Fri, Jun 2, 2017 at 9:15 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Jeffrey Walton <noloader@xxxxxxxxx> 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=nobody@xxxxxxxxxxx cherry-pick <commit>