I recently saw that the git console in Windows is colored, e.g. Green for additions, red for deletions, etc. How do I color my git console like that?
To install it, I used the command: $ sudo apt-get install git-core
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As noted by @VonC,
color.uidefaults toautosince Git 1.8.4From the Unix & Linux Stackexchange question How to colorize output of git? and the answer by @Evgeny:
So basically it’s easier and more future proof than setting the different
color.*settings separately.In-depth explanation from the
git configdocumentation: