kohi3 / arduino

あるどぅいーのする
0 stars 0 forks source link

gitで日本語ファイル文字化けする #3

Closed kohi3 closed 6 years ago

kohi3 commented 6 years ago

これ 2018-07-02 5 23 05

kohi3 commented 6 years ago

[小ネタ][git] 日本語ファイルの文字化けを回避する | Developers.IO

git config --local core.quotepath false

Git - git-config Documentation

core.quotePath Commands that output paths (e.g. ls-files, diff), will quote "unusual" characters in the pathname by enclosing the pathname in double-quotes and escaping those characters with backslashes in the same way C escapes control characters (e.g. \t for TAB, \n for LF, \ for backslash) or bytes with values larger than 0x80 (e.g. octal \302\265 for "micro" in UTF-8). If this variable is set to false, bytes higher than 0x80 are not considered "unusual" any more. Double-quotes, backslash and control characters are always escaped regardless of the setting of this variable. A simple space character is not considered "unusual". Many commands can output pathnames completely verbatim using the -z option. The default value is true.

日本語・・・ git log、git diff、git showでの日本語の文字化けをまとめて対策 | WWWクリエイターズ

無事直る 2018-07-02 5 24 06