Skip to content

Instantly share code, notes, and snippets.

@mather
Last active May 18, 2018 08:42
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 mather/41e3cdf2704b7e917f13 to your computer and use it in GitHub Desktop.
Save mather/41e3cdf2704b7e917f13 to your computer and use it in GitHub Desktop.
git diff や git show で複数のエンコードのファイルを扱う ref: https://qiita.com/mather314/items/a6b4bad59e2edd659dd4
*.txt diff=sjis
$ git config diff.sjis.textconv "iconv -f sjis"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment