Out of a git console: how do I execute a batch file and then return to git console?

后端 未结 5 1398
挽巷
挽巷 2020-11-30 22:14

I have a small utility script called clear.bat that does some housekeeping work on my sources.

It is a .bat file so that I could easily dou

5条回答
  •  渐次进展
    2020-11-30 23:01

    The Git for Windows (msysGit has been superseded by Git for Windows1) FAQ says you have 3 options:

    • Run programs that have problems using the winpty utility. This allows you to keep using the nicer mintty terminal, but can become unwieldy if you need the workaround for many programs.

    • Modify the shortcut for Git Bash to run bash directly without mintty so it uses the default console host and configure it for "Quick Edit", reasonable size and scroll-back and suitable unicode font. You'll still have to live with the other quirks of console host.

    • Install and use ConEmu.

提交回复
热议问题