git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Mike Hommey <mh@glandium.org>
Date
Jul 17, 2009, 17:45 UTC
Message-ID
<20090717174529.GB2925@glandium.org>
In-Reply-To
<7vbpnj5k2l.fsf@alter.siamese.dyndns.org>
On Fri, Jul 17, 2009 at 09:51:46AM -0700, Junio C Hamano wrote:
Show 11 quoted lines
> n179911 <n179911@gmail.com> 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.

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
Previous: Junio C Hamano
Message 3 of 3 in “Is it possible to configure the color of git diff outpyut”
  1. n179911Jul 17, 2009
  2. Junio C HamanoJul 17, 2009
  3. Mike HommeyJul 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.