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

Git config not working correctly with included configurations

From
Rudinei Goi Roecker <rudineigr@itflex.com.br>
Date
Apr 12, 2016, 11:25 UTC
Message-ID
<assp.0910338c53.570CDB33.9020300@itflex.com.br>

I'm having a problem with included configurations in ~/.gitconfig, when using this command:

git config --global user.email

It doesn't return anything, in commits it works as intended. The configuration looks like this:

~/.gitconfig
[include]
   path = .gitconfig.user
# ... more configurations
~/.gitconfig.user
[user]
   name = My Full Name
   email = myemail@example.com
I'm using Fedora 23, git version 2.5.5
Next: John Keeping
Message 1 of 4 in “Git config not working correctly with included configurations”
  1. Rudinei Goi RoeckerApr 12, 2016
  2. John KeepingApr 12, 2016
  3. Jeff KingApr 12, 2016
  4. Rudinei Goi RoeckerApr 12, 2016

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.