本文共 335 字,大约阅读时间需要 1 分钟。
第一步下载git
第二步 安装后 打开安装目录 D:\Program Files\Git\bin,找到我们可爱的 bash.exe
第三步配置环境变量
右键我的电脑 -->属性 --> 高级系统设置
这里将你们小可爱bash.exe 的路径放进去 就比如这样 就行
然后打开vscode
左上角点击 文件-->首选项-->设置
输入"terminal.integrated.shell.windows" 然后复制粘贴"terminal.integrated.shell.windows":"D:\\Program Files\\Git\\bin\\bash.exe",
注意 后面的是我的路径 你们要设置你们的bash路径 接着保存重启就 ok了 !
然后这种就是成功了