shell - What Environmental Variable Sets Git Color.UI? -


is there git environmental variable dictates color.ui config option? not seem in documentation, if there one.

unfortunately, unlike other settings, there no environmental variable allows override color.ui config option.

the way of course use command line: git config --global color.ui true can edit ~/.gitconfig file directly , add of these color options. of info can found here. add colors ~/.gitconfig file:

[color]   ui = auto [color "branch"]   current = yellow reverse   local = yellow   remote = green [color "diff"]   meta = yellow bold   frag = magenta bold   old = red bold   new = green bold [color "status"]   added = yellow   changed = green   untracked = cyan 

highlight whitespace in diffs

[color]   ui = true [color "diff"]   whitespace = red reverse [core]   whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -