Skip to content

Instantly share code, notes, and snippets.

@skoji
Last active April 9, 2018 06:25
Show Gist options
  • Select an option

  • Save skoji/6f4b91000936ffde5b077b871b272ca7 to your computer and use it in GitHub Desktop.

Select an option

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