如何使用 git 和 powershell 修复目录变音?

问题描述 投票:0回答:1

我想向 git 添加一个目录。在目录中,我有一个名为“Archivierung und Löschung”(德语元音变音)的目录。

如果我正在执行

git init
git status
,它会向我显示(在 Win Powerhshell 上):

“Archivierung und Löschung/”

$PSCulture 设置为“de-DE”。

我该如何解决这个问题?

我尝试用以下方法修复它:

git config --global i18n.commitEncoding utf8

也尝试过

git config --global i18n.commitEncoding cp1252

我想我需要在另一个地方修复它。

git powershell
1个回答
0
投票

Kim 建议使用

git config core.quotePath false
是解决我的问题的完美解决方案。

© www.soinside.com 2019 - 2024. All rights reserved.