Re: Git config not working correctly with included configurations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx wrote:
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@xxxxxxxxxxx
HTH,
   Stefan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]