Tagged Questions
2
votes
1answer
114 views
git diff displays colors incorrectly
In order to get coloured output from all git commands, I set the following:
git config --global color.ui true
However, this produces an output like this for git diff, git log
whereas commands ...
2
votes
1answer
294 views
watch command not showing colors for 'git status'
I'm trying to get watch to display colors from 'git status'.
I've tried running watch with the --color option, as suggested elsewhere here, but, still, watch --color 'git status' doesn't display ...
20
votes
4answers
3k views
How to colorize output of git?
Is there a way to color output for git (or any command)?
Consider:
baller@Laptop:~/rails/spunky-monkey$ git status
# On branch new-message-types
# Changes not staged for commit:
# (use "git add ...
3
votes
1answer
579 views
git grep colors differ from grep custom colors
I've setup grep colors in my ~/.bashrc :
export GREP_COLORS='ms=01;34:mc=01;34:sl=:cx=:fn=35:ln=32:bn=32:se=36'
They work for
grep --color=auto
grep --color=always
Unfortunately, those custom ...