Custom Search

Sunday, August 28, 2016

How to fix git diff shows escape characters ^[[32m+^[[m^[[32m

1)
Check all global setting
$ git config --list

2)
Set color.diff=off
$ git config --global color.diff off

3)
Again check all global setting
$ git config --list

4)
Temporary fix
$ git diff --color=never > 1.diff