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

  • 相关阅读:
    算法学习——贪心篇
    Centos7下搭建LAMP环境,安装wordpress(不会生产博客,只是一名博客搬运工)(菜鸟)
    小白创建网站的曲折之路
    7.2.5 多层嵌套的if语句
    7.2.4 else与if配对
    7.2.3
    7.4 electirc.c -- 计算电费
    oracle数据库命令行查看存储过程
    Linux下如何查看进程准确启动时间
    7.2 if else 语句
  • 原文地址:https://www.cnblogs.com/vipzrx/p/3488717.html
Copyright © 2011-2022 走看看