为什么会出现"MINGW64"出现在我的Git bash上? [英] Why is "MINGW64" appearing on my Git bash?
问题描述
我必须格式化笔记本电脑,因此必须再次安装Git.但是,它与我昨天使用的图标完全不同,该图标不再是默认的橙色图标,现在看起来更像Chrome.
I had to format my laptop, and so I had to install Git again. However it is quite different from the one I had yesterday, the icon is not the default orange one anymore, it looks more like Chrome now.
bash
完全不同,每行中都包含一个紫色的"MINGW64
".为什么在那儿?
The bash
is quite different, including a purple "MINGW64
" in every line. Why is it there?
这是新的最终版本吗?还是我下载了其他内容?
Is this the new final version? Or did I download something different?
我下载了 https://github.com/git-for-windows/git/releases/download/v2.5.1.windows.1/Git-2.5.1-64-bit.exe 来自 https://git-scm.com/downloads .
谢谢!
推荐答案
这是用于Windows 2的 Git的新图标. x .我想该网站需要更新,但是通常没有很多志愿者.
This is the new icon being used with Git for Windows 2.x. The website needs an update for that I guess but there are not many volunteers typically.
MINGW64是MSYSTEM
环境变量中的值.通过在/etc/bash.bashrc
文件中设置PS1
,它已包含在bash提示中.您可以在自己的$HOME/.profile
中覆盖它,也可以根据需要编辑分发的内容以将其删除.
The MINGW64 is the value from the MSYSTEM
environment variable. This has been included in the bash prompt by setting PS1
in the /etc/bash.bashrc
file. You can either override this in your own $HOME/.profile
or edit the distributed one to remove that if you prefer.
这篇关于为什么会出现"MINGW64"出现在我的Git bash上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!