How To Launch Git Bash from DOS Command Line?

前端 未结 9 1714
北海茫月
北海茫月 2020-12-07 08:21

I\'ve got what I\'m hoping is a simple question, but I haven\'t been able to find the answer yet. I would like to launch Git Bash from a DOS batch file. Here is what I tri

9条回答
  •  情书的邮戳
    2020-12-07 08:54

    If you want to launch from a batch file:

    • for x86

      start "" "%SYSTEMDRIVE%\Program Files (x86)\Git\bin\sh.exe" --login
      
    • for x64

      start "" "%PROGRAMFILES%\Git\bin\sh.exe" --login
      

提交回复
热议问题