Git Status 中文乱码解决

现象:

jb@H39:~/doc$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    ".#38\344\270\212\347\232\204\350\231\232\346\213\237\346\234\272"
    ".#debconf: unable to initialize frontend: Dialog\347\232\204\350\247\243\345\206\263\346\226\271\346\263\225"
    "38\344\270\212\347\232\204\350\231\232\346\213\237\346\234\272"
    "38\344\270\273\347\233\256\345\275\225\344\270\213\346\226\207\344\273\266\345\244\271\350\257\264\346\230\216"
    "IP\345\210\206\351\205\215"
    Installation Manual for PANDABOARD ES REV 3.pptx
    "Ubuntu 12.04 Server \344\270\255\345\256\211\350\243\205\345\233\276\345\275\242\347\224\250\346\210\267\347\225\214\351\235\242"
    X: user not authorized to run the X server, aborting
    "android\345\260\217\347\273\204\346\213\223\346\211\221"
    "debconf: unable to initialize frontend: Dialog\347\232\204\350\247\243\345\206\263\346\226\271\346\263\225"
    "emacs\346\217\220\347\244\272debconf fontend"
    "ubuntu 12.04 LTS\345\221\275\344\273\244\350\241\214\350\256\276\347\275\256IP\345\217\212DNS"
    "ubuntu12.04\351\207\215\345\220\257\347\275\221\347\273\234"
    "\347\211\210\346\216\247\344\270\255\345\210\240\351\231\244\344\270\200\344\270\252\346\226\207\344\273\266"

中文的文件名,全是乱码

 

解决:
jb@H39:~/doc$ git config --global core.quotepath false

 

解决之后是这样的
jb@H39:~/doc$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    .#38上的虚拟机
    .#debconf: unable to initialize frontend: Dialog的解决方法
    38上的虚拟机
    38主目录下文件夹说明
    IP分配
    Installation Manual for PANDABOARD ES REV 3.pptx
    Ubuntu 12.04 Server 中安装图形用户界面
    X: user not authorized to run the X server, aborting
    android小组拓扑
    debconf: unable to initialize frontend: Dialog的解决方法
    emacs提示debconf fontend
    ubuntu 12.04 LTS命令行设置IP及DNS
    ubuntu12.04重启网络
    版控中删除一个文件

nothing added to commit but untracked files present (use "git add" to track)
jb@H39:~/doc$

 

参考:

Git Status 中文乱码解决

posted on 2013-12-24 11:19  vipzrx  阅读(4488)  评论(0编辑  收藏  举报

导航