git on cygwin
cygwin 1.7.1 で UTF-8 対応記念的な、cygwin と git 辺りのメモ。
git
~/.gitconfig
core の辺りは面倒ごとになりやすいので重要
[user] name = anekos email = anekos@snca.net [color] status = auto diff = auto [alias] co = checkout ci = commit -v st = status br = branch me = merge di = diff dife = diff master origin/master up = log pull = pull --rebase [core] autocrlf = false # 勝手に改行コードカエル問題 safecrlf = false # filemode = false # ファイルモードの変更を毎回検出して UZZZeeee 問題 quotepath = false # マルチバイトなファイル名が化ける問題 [i18n] commitencoding = UTF-8 [gui] fontui = -family ゆたぽん(コーディング) -size 8 -weight normal -slant roman -underline 0 -overstrike 0 fontdiff = -family ゆたぽん(コーディング) -size 10 -weight normal -slant roman -underline 0 -overstrike 0 encoding = utf-8
core.quotepath = false と、cygwin 1.7.1 以降の組み合わせであれば日本語(マルチバイト)なファイル名のファイルの管理も問題なさげ。