From: Nicolas Pitre <nico@cam.org>
To: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Petr Baudis <pasky@suse.cz>, Johan Herland <johan@herland.net>,
git@vger.kernel.org
Subject: Re: [PATCH] user-manual: Use "git config --global" instead of editing ~/.gitconfig
Date: Fri, 11 May 2007 09:22:34 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.0.99.0705110916580.24220@xanadu.home> (raw)
In-Reply-To: <20070511034653.GB26896@fieldses.org>
On Thu, 10 May 2007, J. Bruce Fields wrote:
> So while I'm not convinced of the value of consistency here, if we have
> to have consistency, I'd rather standardize on config-file-editing.
Why not simply providing both?
You can modify your config with the following commands:
...
Alternatively, you might edit your ~/.gitconfig directly as
well with the following content:
...
Wouldn't that be clearer? This way there is no confusion since it is
clear up front that both methods are equivalent, and the user can choose
between them.
For one, I prefer the git-config method even if I do edit source files
all day long. It just seems faster to me.
Nicolas
next prev parent reply other threads:[~2007-05-11 13:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 21:53 [PATCH] user-manual: Use "git config --global" instead of editing ~/.gitconfig Johan Herland
2007-05-10 22:02 ` J. Bruce Fields
2007-05-10 22:16 ` Johan Herland
2007-05-10 23:00 ` Petr Baudis
2007-05-11 3:46 ` J. Bruce Fields
2007-05-11 4:48 ` Junio C Hamano
2007-05-11 13:22 ` Nicolas Pitre [this message]
2007-05-11 20:23 ` Jan Hudec
2007-05-10 22:04 ` Junio C Hamano
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=alpine.LFD.0.99.0705110916580.24220@xanadu.home \
--to=nico@cam.org \
--cc=bfields@fieldses.org \
--cc=git@vger.kernel.org \
--cc=johan@herland.net \
--cc=pasky@suse.cz \
/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).