Skip to main content
6 events
when toggle format what by license comment
Oct 1, 2022 at 9:06 comment added Jose Luis Blanco Great answer! Color bind guys like me, do: git config --global color.diff.old blue
Feb 21, 2021 at 5:40 comment added Cole Or if you want to avoid having to edit your global config (perhaps for a one off): git -c color.diff.meta=blue diff <file1> <file2>
May 24, 2020 at 23:19 comment added Gabriel Staples Good answer, but I wanted to change the colors of new lines and old (deleted) lines too, so I did the research and expanded upon your answer here: stackoverflow.com/a/61993060/4561887
Nov 15, 2014 at 0:56 vote accept TimK
Nov 15, 2014 at 0:56 history edited Chris CC BY-SA 3.0
Add reference to official documentation
Nov 15, 2014 at 0:47 history answered Chris CC BY-SA 3.0