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

  • 相关阅读:
    隐式类型转换
    STL::allocator rebind
    Proxy Class(代理类)
    C++ 没有合适的默认构造函数(无参数构造函数)
    E
    C
    Multiplication Puzzle POJ
    Brackets POJ
    Halloween Costumes LightOJ
    ACwing 139. 回文子串的最大长度(二分+Hash)
  • 原文地址:https://www.cnblogs.com/vipzrx/p/3488717.html
Copyright © 2020-2023  润新知