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

[PATCH] gittutorial: Add global color.ui

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Apr 10, 2009, 12:16 UTC
Message-ID
<20090410141622.10e40448@paolo-desktop>

I consider color.ui so important that I think it deserves to be mentioned in the gittutorial document. Patch is against pu.

Signed-off-by: Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
---
 Documentation/gittutorial.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt
index c5d5596..6748fda 100644
--- a/Documentation/gittutorial.txt
+++ b/Documentation/gittutorial.txt
@@ -44,6 +44,14 @@ $ git config --global user.name "Your Name Comes Here"
 $ git config --global user.email you@yourdomain.example.com
 ------------------------------------------------
 
+This will make prettier the output of certain commands such as `git diff`
+and `git branch`:
+
+------------------------------------------------
+$ git config --global color.ui auto
+------------------------------------------------
+
+
 
 Importing a new project
 -----------------------
-- 
1.6.2.2.485.ge37347
Next: Paolo Ciarrocchi
Message 1 of 3 in “gittutorial: Add global color.ui”
  1. gittutorial: Add global color.uiPaolo Ciarrocchi, Apr 10, 2009
  2. Paolo CiarrocchiApr 13, 2009
  3. Junio C HamanoApr 13, 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.