1 首先查看git安装目录
where git
2 找到bash.exe 的路径
比如:C:/Users/Wangzd/AppData/Local/Programs/Git/bin/bash
3 找到vscode的配置项setting.json
4 添加 "terminal.integrated.shell.windowns": "C:/Users/Wangzd/AppData/Local/Programs/Git/bin/bash"
1 首先查看git安装目录
where git
2 找到bash.exe 的路径
比如:C:/Users/Wangzd/AppData/Local/Programs/Git/bin/bash
3 找到vscode的配置项setting.json
4 添加 "terminal.integrated.shell.windowns": "C:/Users/Wangzd/AppData/Local/Programs/Git/bin/bash"