1,打开vscode,设置
2,搜索terminal.integrated.shell.windows
将值修改为
“terminal.integrated.shell.windows”:“D:\Git\bin\bash.exe”
注意:
前提是已经下载好了Git工具,我的放在了D盘Git目录下,你可以根据你的路径做修改。
路径一定是\不然会报错找不到。
一定是bin目录下的bash.exe,不是上级的git-bash.exe,那会单独打开。
然后终端就变成了bash
1,打开vscode,设置
2,搜索terminal.integrated.shell.windows
将值修改为
“terminal.integrated.shell.windows”:“D:\Git\bin\bash.exe”
注意:
前提是已经下载好了Git工具,我的放在了D盘Git目录下,你可以根据你的路径做修改。
路径一定是\不然会报错找不到。
一定是bin目录下的bash.exe,不是上级的git-bash.exe,那会单独打开。
然后终端就变成了bash