最新动态 > 详情

VSCode终端集成git-bash,实现cmd和bash切换

发布时间:2021-02-22 10:25:57

一、安装git bash

二、在vscode中设置


三、在setting.json中自动会生成填写gitbash的地址配置
填写安装git-bash目录
注意双反斜杠,注意目录地址是bin下的bash.exe
  "terminal.integrated.shell.windows": "D:\\Git\\bin\\bash.exe",
 
配置成功后在终端可以输入cmd或bash进行切换了

上一篇: RabbitMq发布订阅demo

下一篇:Mac 安装PHP swoole扩展