Thread (7 messages) flat view 7 messages, 5 authors, 2016-06-15

Re: [PATCH] user-manual: Use "git config --global" instead of editing ~/.gitconfig

From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:09

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help