#VScodd集成Git Bash 命令行 #怎么把Git Bash集成到VScode

配置

Step1. File-Preferences-Setting
Step2. 搜索“terminal>integrated>shell A”
Step3. 找到terminal>integrated>shell Args:Linux选项

Step4. 点击Add Item
Step5. 在这里写上你的Git Bash的bin目录路径,如我这里是“C:\Program Files\Git\bin\bash.exe”,然后点击“OK”
Step6. Ctrl+shift+p - 输入"reload window"回车

使用:

打开终端-添加终端窗口-设置默认终端-选择bash-新建终端

--- done ---

猜你喜欢

转载自www.cnblogs.com/jaycethanks/p/12663983.html