I miss the Git syntax highlighting I had on Windows for every "git .*" command like green staged filenames, some bolding, etc.
How do I enable Git syntax highlighting for Mac's terminal?
If you've committed whitespace issues but haven't yet pushed upstream, you can run git rebase --whitespace=fix to have Git automatically fix whitespace issues as it's rewriting the patches.
git config --global color.ui auto
For seeing different colors for the diff command, use:
git config --global color.diff true
To globally change colors for most commands, use:
git config --global color.ui true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With