Skip to content

Instantly share code, notes, and snippets.

@wteuber
Created May 27, 2019 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wteuber/026ddeebda4acbddb6f7eba6eadf07e9 to your computer and use it in GitHub Desktop.
Save wteuber/026ddeebda4acbddb6f7eba6eadf07e9 to your computer and use it in GitHub Desktop.
Colored git word diff
# Mac OS X:
script -q colored_word_diff.txt git diff --word-diff
cat colored_word_diff.txt|ansi2html > colored_word_diff.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment