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

Confusion with git config list --show-origin

From
CLChristophe Lohr <christophe.lohr@cegetel.net>
Date
Sep 29, 2026, 12:36 UTC
Message-ID
<b93a24c5-7411-4bf0-ad1a-aa5999f107f9@cegetel.net>
Hello,
   The 'git config list --show-origin' command is very useful for 
understanding where the settings come from.
This command lists the files involved, specifying the full path for each 
one,
except for '.git/config'

This gives the impression that there is a '.git/' directory in the current working directory, even though it isn't located here but higher up in the directory tree. So, may I suggest, that this command display the full path to the .git/config file used by the current git command?

Best regards Christophe

Next: Patrick Steinhardt
Message 1 of 3 in “Confusion with git config list --show-origin”
  1. Christophe LohrSep 29, 2026
  2. Patrick SteinhardtOct 1, 2026
  3. brian m. carlsonOct 2, 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.