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(-)
Show changes to Documentation/gittutorial.txt +8 −0
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