git commit用中文(Github/Gitlab...)? - Linux

Table of Contents

之前我碰到的問題是使用中文檔名無法顯示,會變成 \nnn\nnn

可以用下面這行停用這種轉換:

git config [--global] core.quotepath off

(ref https://stackoverflow.com/a/22828826


至於其他 windows 下非 utf8 惱人問題,請參考:

Windows GIT 解決中文顯示亂碼問題
https://goo.gl/6E8vfA

解决git在Windows下的乱码问题 (簡中)
http://howiefh.github.io/2014/10/11/git-encoding/

--

All Comments

Lucy avatarLucy2017-09-20
感謝