Re:Show HN: Hiding code from Git diff
by realusername on Thursday December 14, 2017 @01:44AM
(#15920392)
You can also just pipe it to cat -e, it works the same. git diff | cat -e make all escape sequences visible.
If you are concerned, you can use a gui diff tool, or you can pipe it through a filter that removes escape codes:
Credit to: gilles https://unix.stackexchange.com/a/14707