Re: How to avoid "Please tell me who you are..."?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 2, 2017, 23:50 UTC
- Message-ID
- <xmqqh8zyx833.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <CACBZZX4vEOD-4a-eK-uBxmFrb1GLSvJKxHW51whCSbCZdh7amQ@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 17 quoted lines
> On Fri, Jun 2, 2017 at 9:15 AM, Junio C Hamano <gitster@pobox.com> wrote: >> Jeffrey Walton <noloader@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=nobody@example.com > cherry-pick <commit>
Exactly. That is what I meant as one of the "whatever standard way".