Re: Git config not working correctly with included configurations
- From
John Keeping <john@keeping.me.uk>
- Date
- Apr 12, 2016, 13:02 UTC
- Message-ID
- <20160412130236.GA11013@serenity.lan>
- In-Reply-To
- <assp.0910338c53.570CDB33.9020300@itflex.com.br>
On Tue, Apr 12, 2016 at 08:25:39AM -0300, Rudinei Goi Roecker wrote:
> 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:
I think you need:
git config --global --includes user.email
or simply:
git config user.email
See the documentation of the --includes and --no-includes options in git-config(1).