1、安装git
注:修改默认安装路径,方便查找
2、打开VSCode设置,代码编辑设置模式
插入如下代码片段
"terminal.integrated.profiles.windows": {
"bash(migrated)": {
"path": "C:\\Git\\bin\\bash.exe",
"args": []
}
},
"terminal.integrated.defaultProfile.windows": "bash(migrated)",