【问题标题】:Is it possible for git to display the filename with accents?git是否可以显示带有重音符号的文件名?
【发布时间】:2018-12-11 08:51:55
【问题描述】:

当我提交时,“要提交的更改”会显示我的文件,其中的重音符号已转义:

# Changes to be committed:
#       new file:   "encours/probabilit\303\251_tr\303\250s_faible/avocat_gratuit_pour_une_affaire_par_an/README.me"
#       new file:   "encours/supprimer_vote_bloqu\303\251/README.md"

而且,对于 git status 或 git diff 也是一样的。

有没有办法显示重音符号?

编辑:与this one 不同,因为此解决方案是针对特定于 MacOS 的问题

编辑 2:我在 linux / ubuntu 上

【问题讨论】:

标签: git internationalization


【解决方案1】:

通过How to handle Asian characters in file names in Git on OS X解决

git config --global core.quotepath false

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-06-25
    • 1970-01-01
    • 2012-05-13
    • 2011-07-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多