Skip to contentSkip to conversation

gittutorial: Add global color.ui

PATCH In review Paolo Ciarrocchi 2 participants 3 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gittutorial: Add global color.ui

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

---
 Documentation/gittutorial.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Documentation/gittutorial.txt +8 -0
index c5d5596..6748fda 100644
@@ -44,6 +44,14 @@ $ git config --global user.name "Your Name Comes Here"
 $ git config --global user.email [email protected]
 ------------------------------------------------
 
+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
 -----------------------
Signature · 1 line
1.6.2.2.485.ge37347
#1 lore raw

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

Quoted 32 lines · Paolo Ciarrocchi

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

---
 Documentation/gittutorial.txt |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
Documentation/gittutorial.txt +8 -1
index c5d5596..6748fda 100644
@@ -44,6 +44,14 @@ $ git config --global user.name "Your Name Comes Here"
 $ git config --global user.email [email protected]
 ------------------------------------------------
 
+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

#2 lore raw
Quoted 1 line · Paolo Ciarrocchi

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.