配置vscode默认终端为git bash
点击左下角小齿轮,点击设置,搜索terminal.integrated.profiles.windows,点击在setting.json中编辑
小齿轮
设置
terminal.integrated.profiles.windows
在setting.json中编辑
第一部分是当前的所有的终端,第二部分是配置默认的终端\"terminal.integrated.defaultProfile.windows\": \"Git Bash\",
\"terminal.integrated.defaultProfile.windows\": \"Git Bash\",