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

Re: [Feature Proposal] Add a built-in 'git whoami' command

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 31, 2026, 16:26 UTC
Message-ID
<xmqqzf3o0xuj.fsf@gitster.g>
In-Reply-To
<CALCP2CjymE-i9TsKB8TmW_0M=ZDbtLPzZFpx4-ba01164b1MOA@mail.gmail.com>
Giorgos Gasparis <gasp.giorgos@gmail.com> writes:
Show 7 quoted lines
> Hello Git team,
>
> I would like to propose adding a native git whoami command to Git to
> easily check the currently active identity.
>
> Currently, users have to run two separate commands (git config
> user.name and git config user.email) to check this.
"git var GIT_AUTHOR_IDENT"?
Previous: Giorgos GasparisNext: Kristoffer Haugsbakk
Message 2 of 3 in “[Feature Proposal] Add a built-in 'git whoami' command”
  1. Giorgos GasparisMar 31, 2026
  2. Junio C HamanoMar 31, 2026
  3. Kristoffer HaugsbakkMar 31, 2026

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.