git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: John Keeping <john@keeping.me.uk>
To: Rudinei Goi Roecker <rudineigr@itflex.com.br>
Cc: git@vger.kernel.org
Subject: Re: Git config not working correctly with included configurations
Date: Tue, 12 Apr 2016 14:02:36 +0100	[thread overview]
Message-ID: <20160412130236.GA11013@serenity.lan> (raw)
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).

  reply	other threads:[~2016-04-12 13:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-12 11:25 Git config not working correctly with included configurations Rudinei Goi Roecker
2016-04-12 13:02 ` John Keeping [this message]
2016-04-12 15:50 ` Jeff King
2016-04-12 16:03   ` Rudinei Goi Roecker
     [not found] <570CDB33.9020300@itflex.com.br>
     [not found] ` <570CE289.2000808@atlas-elektronik.com>
2016-04-12 11:58   ` Fwd: " stefan.naewe
2016-04-12 12:13   ` Rudinei Goi Roecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160412130236.GA11013@serenity.lan \
    --to=john@keeping.me.uk \
    --cc=git@vger.kernel.org \
    --cc=rudineigr@itflex.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).