当前位置: 首页 > 工具软件 > Bash-Git > 使用案例 >

CMD打开Git Bash

冯俊英
2023-12-01

打开git-bash

start "Open Git Bash" "%SYSTEMDRIVE%\Program Files\Git\git-bash.exe"

带参数

start "Git Bash Open tail" "%ProgramFiles%\Git\git-bash.exe" -c "tail -f /c/Windows/win.ini"
start "" "%ProgramFiles%\Git\git-bash.exe" -c "echo 1 && echo 2 && /usr/bin/bash --login -i"

参考:
http://www.itkeyword.com/doc/9018080391155886x507/how-to-launch-git-bash-from-dos-command-line

 类似资料: