Git for Windows, run git bash without mintty?

10,223

I'm using console2 to display my different cmd.exe and bash windows in tabs, so I ran into the same problem. The way I solved it was to call cmd.exe and have it launch the git bash. That seems to do the trick for me. So configure your tool(s) to use a shell like that:

cmd.exe /C "C:\Program Files\Git\bin\bash.exe" --login -i

(Of course you may need to adjust the path.)

Share:
10,223
user1795832
Author by

user1795832

Updated on July 07, 2022

Comments

  • user1795832
    user1795832 almost 2 years

    After upgrading my PC to Windows 10 and doing a reset, I had to redownload all of my programs. When I downloaded Git for Windows, it came with a newer version compared to what I used before. This version looks to use mintty for the terminal, which doesn't seem to support using arrow keys to scroll through options when running certain commands. Example is Yeoman, you're supposed to use the arrow keys to select what you want to do, but the arrow keys just moves the cursor instead of the options list.

    So thinking this is a mintty issue, how can I go back to the previous terminal that was being used (sorry don't remember what it was pre-2.5)? Or how to start git-bash without mintty? Or anyone know a way to get mintty to work with arrows properly?