I have found questions that give direction on using Git Bash with full blown Visual Studio, but I've not been able to locate any directions on how one might be able to set the built-in Terminal that Visual Studio Code offers to be Git Bash. Is this possible?
3 Answers
There is this setting for your workspace:
// The path of the shell that the terminal uses on Windows. When using shells shipped with Windows (cmd, PowerShell or Bash on Ubuntu), prefer C:\Windows\sysnative over C:\Windows\System32 to use the 64-bit versions.
"terminal.integrated.shell.windows": “C:\\Windows\\sysnative\\bash.exe”,
Assuming you already have it installed. I found this info here:
Comments
I'm not sure if setting the built-in terminal to Git Bash is possible. Opening a Git Bash terminal in your projects root directory should suffice.
You can do this by right clicking withing the opened directory and clicking 'Git Bash Here'.
1 Comment
Jared
it's possible and works great. Git Bash opens in the selected directory as would be expected.