- 打开终端配置;
-
找到windows打开setting.json文件
- 键入配置文件保存即可
"terminal.integrated.profiles.windows": {
"bash": {
"path": "D:\\xxx\\Git\\bin\\bash.exe", // 找到自己git安装目录所在xxx\bash.exe
"args": []
}
},
"terminal.integrated.defaultProfile.windows": "bash",