Confusion with git config list --show-origin

From: Christophe Lohr <hidden>
Date: 2026-09-29 12:49:39

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help