Py学习  »  Git

Git Bash不显示tildes

Diego Aaron • 5 年前 • 1094 次点击  

我在vscode中使用git,我注意到当在提交的注释中使用重音符号时,当我用 “git log” 显示历史时,用tilde的字母不正确显示。验证我是否注意到vscode通过路径 “c:\program files\git\bin\bash.exe” 调用git,并且当直接执行此bash时,我将错误可视化,因此它是有效的,它不是vscode的问题。另一方面,当我使用与git一起安装的快捷方式时,该快捷方式位于 “c:\program files\git\git bash.exe” i verify that there is no problem in showing the tildes(the comments of the commits of the commits with tilde appear well written).最后,通过windows命令使用git命令并验证问题是否得到了维护。有人对此感到不便吗?.C:\Program Files\git\bin\bash.exe“ ”中的git bash在使用时,它以某种方式使用Windows命令,而这反过来又不能正确地显示带有行的单词。谢谢。

. “C:\Program Files\Git\bin\bash.exe” 当直接执行这个bash时,我将错误可视化,这样就可以有效地避免vscode的问题。另一方面,当我使用Git安装的快捷方式时, “C:\程序文件\git\git bash.exe” 我确认显示tildes没有问题(使用tilde提交的注释看起来写得很好)。最后,通过windows命令使用git命令并验证问题是否得到了维护。有人对此感到不便吗?.在使用位于 “C:\Program Files\Git\bin\bash.exe” 它在某种程度上使用了windows命令,而这反过来又不能正确地用行显示单词。谢谢您。

git showing the log correctly git with error

Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/31070
 
1094 次点击  
文章 [ 1 ]  |  最新文章 5 年前
John
Reply   •   1 楼
John    5 年前

我总是使用git bash,但是对于cmd建议,请参见 this StackExchange link 也就是说,您需要通过打开cmd并运行来将代码页更改为utf8 chcp 65001 在commandPromt属性--gt;字体上,将字体更改为“lucida console”。