Skip to content

Instantly share code, notes, and snippets.

@skoji
Last active April 9, 2018 06:25
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 skoji/6f4b91000936ffde5b077b871b272ca7 to your computer and use it in GitHub Desktop.
Save skoji/6f4b91000936ffde5b077b871b272ca7 to your computer and use it in GitHub Desktop.
Comparing UTF-8 text with git diff
git diff --word-diff-regex=$'[^\x80-\xbf][\x80-\xbf]*' --word-diff=color ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment