Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code: Use Git Bash (windows)

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?

like image 537
Jared Avatar asked Dec 08 '22 17:12

Jared


1 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:

installing and setting up git bash in vscode

like image 132
Mark Avatar answered Jan 15 '23 07:01

Mark