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

Re: Git config not working correctly with included configurations

From
Rudinei Goi Roecker <rudineigr@itflex.com.br>
Date
Apr 12, 2016, 12:13 UTC
Message-ID
<assp.09101f0ea6.570CE685.8060005@itflex.com.br>
In-Reply-To
<570CE289.2000808@atlas-elektronik.com>

I tried changing to ~/.gitconfig.user and /home/<user_name>/.gitconfig.user, still causes the same problem

On 12-04-2016 08:56, stefan.naewe@atlas-elektronik.com wrote:
Show 26 quoted lines
> Am 12.04.2016 um 13:25 schrieb Rudinei Goi Roecker:
>> 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
> Maybe you want to use
>
>       path = ~/.gitconfig.user
>
> here.
>
>> # ... more configurations
>>
>> ~/.gitconfig.user
>> [user]
>>     name = My Full Name
>>     email = myemail@example.com
> HTH,
>    Stefan
Previous: stefan.naewe@atlas-elektronik.com
Message 2 of 2 in “Fwd: Re: Git config not working correctly with included configurations”
  1. stefan.naewe@atlas-elektronik.comApr 12, 2016
  2. 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.