Color git command line result
On CentOS, when i run git commands like “git status” or “git diff”, the result is shown with out any color. On Ubuntu, git always show result in color.
To make git result show in color, edit file
vi ~/.gitconfig
Add
[color] diff = auto status = auto branch = auto interactive = auto ui = true pager = true
Now git commands will show output with color.