# [PATCH] gittutorial: Add global color.ui

3 messages from 2009-04-10 to 2009-04-13. Participants: Paolo Ciarrocchi, Junio C Hamano.
Thread: https://gitlist.dev/t/18824

## Paolo Ciarrocchi, 2009-04-10 12:16

Subject: [PATCH] gittutorial: Add global color.ui
Message-ID: <20090410141622.10e40448@paolo-desktop>
URL: https://gitlist.dev/e/20090410141622.10e40448%40paolo-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

```

## Paolo Ciarrocchi, 2009-04-13 07:03

Subject: Re: [PATCH] gittutorial: Add global color.ui
Message-ID: <4d8e3fd30904130003m78dc7a81pf91ed6772b5c4f93@mail.gmail.com>
URL: https://gitlist.dev/e/4d8e3fd30904130003m78dc7a81pf91ed6772b5c4f93%40mail.gmail.com
In-Reply-To: <20090410141622.10e40448@paolo-desktop>

```
Hello,
AFAIK the below path has not been commented or applied.

Should I just wait or does it means that is not considered usefull?

Regards,
        Paolo

On 4/10/09, Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> wrote:
> 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
>
>

```

## Junio C Hamano, 2009-04-13 07:29

Subject: Re: [PATCH] gittutorial: Add global color.ui
Message-ID: <7vbpr1hv0i.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vbpr1hv0i.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <4d8e3fd30904130003m78dc7a81pf91ed6772b5c4f93@mail.gmail.com>

```
Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com> writes:

> Should I just wait or does it means that is not considered usefull?

I didn't find it useful myself.  Even though it is not the final word
around here, I didn't see anybody else agreeing that having color.ui at
the begining would improve the tutorial.

Many other things are probably as useful to have as color.ui there, if not
more, and we obviously do not want to list all the things some random
person found useful and extend the initial part of the tutorial to 100
pages before showing how to create the very first repository to a new
person.

So you have to do much better than just saying that you like color.ui.
You need to justify that it should trump all the other potentially useful
configurations and added there.

```
