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