Open lvxianchao opened 1 year ago
打开设置,搜索 terminal.integrated.profiles.windows,然后点击 在 settings.json 中编辑:
terminal.integrated.profiles.windows
在 settings.json 中编辑
添加如下配置项,其中 path 路径需要换成你自己的:
path
"GitBash": { "path": "D:\\Program Files\\Git\\bin\\bash.exe", "args": [], "icon": "terminal-bash" },
把 terminal.integrated.profiles.windows 的值改为 GitBash,重启 VSCode。
GitBash
GitBash 中间不能有空格,否则无法识别
打开设置,搜索
terminal.integrated.profiles.windows
,然后点击在 settings.json 中编辑
:添加如下配置项,其中
path
路径需要换成你自己的:把
terminal.integrated.profiles.windows
的值改为GitBash
,重启 VSCode。GitBash
中间不能有空格,否则无法识别