简体   繁体   中英

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

git config --global color.ui auto

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM