简体   繁体   中英

How to change from MinTTY to Windows 10 default console in Git Bash?

I am using Windows 10. I have Git Bash (from Git 2.20.1) installed with configuration of using MinTTY as terminal emulator. I can see that following entry in Git-2.20.1/etc/install-options.txt Bash Terminal Option: MinTT This means when I start git-bash it uses MinTTY as terminal - one can see this by right clicking on the title bar of git-bash window.

Now I have to switch to windows default console. When I say "switch" I mean when I start git-bash I expect it to use windows console - I should be able to confirm this by right clicking on the title bar of git-bash window.

Below link explains the difference between MinTTY and Windows console - https://willi.am/blog/2016/08/08/docker-for-windows-interactive-sessions-in-mintty-git-bash/

However I cant find any config or mechanism to change this. (Changing install-options.txt with Bash Terminal Option: ConHost does not have any effect) And I cant reinstall it as it has came via my organizations packaging system.

Is there any config anyone knows which I am missing?

Appreciate help - Many Thanks !

This switch is a part of git-bash.exe binary. It's only being edited by Git Windows installer hook named edit-git-bash.

You could compile and run edit-git-bash.

Or reinstall Git entirely (simpler)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM