Re: [PATCH v2 03/15] user-manual: Use 'remote add' to setup push URLs
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 10, 2013, 22:08 UTC
- Message-ID
- <20130210220848.GB11720@elie.Belkin>
- In-Reply-To
- <20130210215442.GB8000@odin.tremily.us>
W. Trevor King wrote:
> On Sun, Feb 10, 2013 at 01:33:31PM -0800, Junio C Hamano wrote:
Show 5 quoted lines
>> The resulting text may read like so: >> … > > I'm fine with this too, but if this is the suggested route, why bother > with `git config` at all? Is it just for ease of scripting?
Yes. It can also be helpful when giving help over IRC, since you can get reproducible results without assuming the user has a proper text editor set up, but that is just a special case of scripting. ;-)
For everyday interactive configuration editing, config files have some good advantages:
- The settings are easy to read, well organized, and all in one place - The file can include comments.
Thanks, Jonathan