W. Trevor King wrote:
On Sun, Feb 10, 2013 at 01:33:31PM -0800, Junio C Hamano wrote:
quoted
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