with VC2015 support
先透過command line 執行
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
再進入git bash
"C:\Program Files\Git\bin\bash.exe"
BAT檔呼叫shell script
"c:\Program Files\Git\bin\bash.exe" --login -i -c "COMMAND"
需要注意的地方
一般command line需要傳 forward slash參數時 eg. /help
需要加上 forward slash來escape 例如 //help
參考: https://stackoverflow.com/questions/34647591/passing-windows-slash-based-parameters-to-a-program-from-bash-script