[英]"-m" not visible when using Git in Windows Terminal
I'm using Windows Terminal and I'm having trouble with Git, when I type -m
it's invisible:我正在使用 Windows 终端,我在使用 Git 时遇到问题,当我输入
-m
时它是不可见的:
I've tried modifying the .gitconfig
file but haven't managed to find the parameter to that specific thing.我已经尝试修改
.gitconfig
文件,但没有设法找到该特定事物的参数。 How can I change it?我怎样才能改变它?
This looks like a PowerShell theme issue - check the output of Get-PSReadLineOption
- if you see any invisible colors:这看起来像 PowerShell 主题问题 - 检查
Get-PSReadLineOption
- 如果您看到任何不可见的 colors:
PowerShell invisible colors PowerShell 隐形 colors
You can fix this by specifying your own colors - eg: Set-PSReadLineOption -Colors @{ 'Number' = "blue"; 'Member' = "DarkGray"}
您可以通过指定自己的 colors 来解决此问题 - 例如:
Set-PSReadLineOption -Colors @{ 'Number' = "blue"; 'Member' = "DarkGray"}
Set-PSReadLineOption -Colors @{ 'Number' = "blue"; 'Member' = "DarkGray"}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.