Search code examples
windowsgitbashmingw-w64

Why is "MINGW64" appearing on my Git bash?


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.

git

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?

I downloaded https://github.com/git-for-windows/git/releases/download/v2.5.1.windows.1/Git-2.5.1-64-bit.exe from https://git-scm.com/downloads .

Thanks!


Solution

  • 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.

    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.