1.首先打开设置,找到setting.json文件
![](https://i-blog.csdnimg.cn/blog_migrate/826931996876fab0b3fde68d6a7a1ddf.png)
2.然后输入下列代码:
,
"terminal.integrated.profiles.windows": {
"Git-Bash": {
"path": "D:\\Git\\bin\\bash.exe"
},
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell",
"args": [
"NoProfile"
]
},
},
"terminal.integrated.defaultProfile.windows":"Git-Bash" ,
3.在这里!!!
![](https://i-blog.csdnimg.cn/blog_migrate/375ba395545e0122a38cc58a21f9a463.png)
4.然后保存,打开集成终端控制台,即可以实现
![](https://i-blog.csdnimg.cn/blog_migrate/cc23c2facd4d3396e39426646b1d2e4d.png)