Subject: Fwd: Re: Git config not working correctly with included configurations

From: <[email-masked]>
Date: Tue, 12 Apr 2016 13:58:20 +0200

Sorry, I thought this list has 'reply to all' set by default...

Stefan

-------- Weitergeleitete Nachricht --------
Betreff: Re: Git config not working correctly with included configurations
Datum: Tue, 12 Apr 2016 13:56:57 +0200
Von: Näwe, Stefan <[email-masked]>
An: Rudinei Goi Roecker <[email-masked]>

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 = [email-masked]

HTH,
  Stefan
-- 
----------------------------------------------------------------
/dev/random says: CURSOR: What you become when your system crashes.
python -c "print '73746566616e2e6e616577654061746c61732d656c656b74726f6e696b2e636f6d'.decode('hex')" 
GPG Key fingerprint = 2DF5 E01B 09C3 7501 BCA9  9666 829B 49C5 9221 27AF