gitcentosgit-statusterminal-color

How do I get a terminal to display colors on CentOS 7 when viewing Git changes.? This is not Git Bash this is just a terminal window


Can someone direct me to how I can get the color coding option in CentOS for Git?

Is there a specific version that is needed to get this color coding highlight when under the terminal (either terminal or the built-in IntelliJ Terminal?

I had it working on RedHat version but I got switched over to a CentOS VM today and I cannot for the life of me find a way to enable the color coding format for Git so when a file is added or modified it shows a different color for 'git status'.

Thanks


Solution

  • git config --global color.ui auto

    Just found it, of course: How to color the Git console?