git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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".

Previous: Ævar Arnfjörð BjarmasonNext: Junio C Hamano
Message 7 of 8 in “How to avoid "Please tell me who you are..."?”
  1. Jeffrey WaltonJun 2, 2017
  2. Jeffrey WaltonJun 2, 2017
  3. Konstantin KhomoutovJun 2, 2017
  4. Jeffrey WaltonJun 2, 2017
  5. Junio C HamanoJun 2, 2017
  6. Ævar Arnfjörð BjarmasonJun 2, 2017
  7. Junio C HamanoJun 2, 2017
  8. Junio C HamanoJun 6, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.