Skip to main content
14 events
when toggle format what by license comment
May 3, 2021 at 21:44 comment added Gabriel Staples @caot, what did you try exactly?
Feb 21, 2021 at 5:37 comment added Cole @jasonleonhard Yep, I also forgot to add for complex specifiers you just need to add quotes. eg for bold cyan: git -c color.diff.new="cyan bold" diff <file1> <file2>
Feb 20, 2021 at 21:21 comment added jasonleonhard Nice, simple way to custom color your terminal anytime
Feb 17, 2021 at 3:14 comment added Cole If you want to avoid changing your global config (ie you just want the colors changed for a one-off) you can pass the parameter via -c eg: git -c color.diff.new=cyan diff <file1> <file2> shows all additions in cyan
Aug 23, 2020 at 10:29 history edited marc_s CC BY-SA 4.0
edited body
May 26, 2020 at 17:55 history edited Gabriel Staples CC BY-SA 4.0
added 281 characters in body
May 25, 2020 at 1:18 history edited Gabriel Staples CC BY-SA 4.0
added 31 characters in body
May 25, 2020 at 1:11 history edited Gabriel Staples CC BY-SA 4.0
deleted 25 characters in body
May 25, 2020 at 0:53 history edited Gabriel Staples CC BY-SA 4.0
added 291 characters in body
May 24, 2020 at 23:06 history edited Gabriel Staples CC BY-SA 4.0
added 116 characters in body
May 24, 2020 at 22:49 history edited Gabriel Staples CC BY-SA 4.0
added 265 characters in body
May 24, 2020 at 22:37 history edited Gabriel Staples CC BY-SA 4.0
added 377 characters in body
May 24, 2020 at 22:28 history edited Gabriel Staples CC BY-SA 4.0
added 1945 characters in body
May 24, 2020 at 22:15 history answered Gabriel Staples CC BY-SA 4.0