vscode版本: 1.76.2 (2023)
点击查看版本详细信息
版本: 1.76.2 (user setup)
提交: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
日期: 2023-03-14T17:55:54.936Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Windows_NT x64 10.0.19044
沙盒化: No<details>
打开vscode设置 输入 git.path,选择josn编辑
点击查看代码
{
"explorer.confirmDelete": false,
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [],
"icon": "terminal-cmd"
},
"GitBash": {
"path": "D:\\Program Files (x86)\\Git\\bin\\bash.exe",//这里是的的bash路径
},
},
"terminal.integrated.defaultProfile.windows": "GitBash",
}
重启编辑器
标签:git,vscode,cmd,terminal,exe,终端,path From: https://www.cnblogs.com/zhenxiang/p/17252029.html