Why is “MINGW64” appearing on my Git bash?

后端 未结 7 829
抹茶落季
抹茶落季 2020-12-07 14:25

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

相关标签:
7条回答
  • 2020-12-07 15:24

    "Git for windows" includes git plus a variety of additional software, which you may already have on your machine. This includes:

    • bash (which already comes with Windows 10)
    • ssh (which is also now included in Windows 10)
    • 'git bash' which includes a preferences for a PS1, a shortcut file, and some other tools.

    As PS1 tastes are generally personal you may prefer your existing setup.

    If you want git, but don't want all the extra software, you can get a minimal build from nuget.

    However if you use a GUI that may also include an embedded git - personally I use the one included with Sourcetree. In my powershell profile:

     Add-PathVariable "${env:UserProfile}\AppData\Local\Atlassian\SourceTree\git_local\bin"
    

    This provides git without any additional changes to your system or extra copies of other software.

    (Add-Pathvariable comes from PSCX by the way)

    0 讨论(0)
提交回复
热议问题