Re: Is it possible to configure the color of git diff outpyut

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Is it possible to configure the color of git diff outpyut

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:47:04

n179911 [off-list ref] writes:
When I do git diff, for example, it has color output (red for "-" and
green for "+").
Can you please tell me how can I change the color used?
Can you please tell us what resources you consulted to figure this out
yourself before asking your question on this list?  I am not complaining;
I am trying to see how a "typical" user finds information on our software,
so that we can potentially optimize our documentation set to make it
easier to find answers to common questions.

The answer to your question is found by looking for color.diff.<slot> in
"git help config".

Re: Is it possible to configure the color of git diff outpyut

From: Mike Hommey <hidden>
Date: 2016-06-15 22:47:04

On Fri, Jul 17, 2009 at 09:51:46AM -0700, Junio C Hamano wrote:
n179911 [off-list ref] writes:
quoted
When I do git diff, for example, it has color output (red for "-" and
green for "+").
Can you please tell me how can I change the color used?
Can you please tell us what resources you consulted to figure this out
yourself before asking your question on this list?  I am not complaining;
I am trying to see how a "typical" user finds information on our software,
so that we can potentially optimize our documentation set to make it
easier to find answers to common questions.
I think it would make sense to have reference to configuration items
that have a special impact on commands in their manual pages. Or at
least a "See Also" section mentioning "git-config".

Mike
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help