1. First open the settings and find the setting.json file
![](https://img-blog.csdnimg.cn/img_convert/31a66228a30449d98a38c331c35a623d.png)
2. Then enter the following code:
,
"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. Here! ! !
![](https://img-blog.csdnimg.cn/img_convert/80bd27b26b804cdfa26b0a1fcb82c22e.png)
4. Then save and open the integrated terminal console, which can be realized
![](https://img-blog.csdnimg.cn/img_convert/66ef0926b52745aca332b2d5b5ca714a.png)