zoukankan      html  css  js  c++  java
  • 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)

        ".#38344270212347232204350231232346213237346234272"
        ".#debconf: unable to initialize frontend: Dialog347232204350247243345206263346226271346263225"
        "38344270212347232204350231232346213237346234272"
        "38344270273347233256345275225344270213346226207344273266345244271350257264346230216"
        "IP345210206351205215"
        Installation Manual for PANDABOARD ES REV 3.pptx
        "Ubuntu 12.04 Server 344270255345256211350243205345233276345275242347224250346210267347225214351235242"
        X: user not authorized to run the X server, aborting
        "android345260217347273204346213223346211221"
        "debconf: unable to initialize frontend: Dialog347232204350247243345206263346226271346263225"
        "emacs346217220347244272debconf fontend"
        "ubuntu 12.04 LTS345221275344273244350241214350256276347275256IP345217212DNS"
        "ubuntu12.04351207215345220257347275221347273234"
        "347211210346216247344270255345210240351231244344270200344270252346226207344273266"

    中文的文件名,全是乱码

    解决:
    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 中文乱码解决

  • 相关阅读:
    网页链接在 什么时候 进行跳转到哪里?
    word中那些重要但是被人忽略的快捷键和长word文档的跳转
    如何在editplus中配置ctags?
    winsow xp不能安装软件, 提示"中断" 是因为设置了 软件限制策略
    firefox的plugin-container.exe进程如何关闭?
    thinkphp的url地址区分大小写?
    thinkphp单入口和多入口的访问方法
    什么时候使用tab键来对齐代码和代码的风格
    该不该用inline-block取代float? inline和float的区别?
    cad中关于点样式点的绘制
  • 原文地址:https://www.cnblogs.com/vipzrx/p/3488717.html
Copyright © 2011-2022 走看看