how to start mintty correctly from command line

748 views
Skip to first unread message

J M

unread,
Sep 9, 2019, 6:58:20 PM9/9/19
to git-for-windows
So after install git-for-windows, I can right-click mouse and "Git Bash Here". Can anyone tell me how to get the same thing done through the command line?

If I run "C:\Program Files\Git\usr\bin\mintty.exe" directly in the command line, I got a pop-up window asking about options of Shells (bash): MSYS2, Mingw-w64 32 bit, Mingw-w64 64 bit (see attachment). How can I pass the option to mintty.exe directly?

Thank you very much.


git bash.png
mintty.png

J M

unread,
Sep 10, 2019, 11:55:00 AM9/10/19
to git-for-windows
Never mind. I should run "git-bash.exe". Thanks.
Reply all
Reply to author
Forward
0 new messages