VSC (Visual Studio Code) Open in Console with Git Bash under Windows

This post is out of date, please read another post for an extension which does some of the job.

Let's put simple things simple and straightforward.

  1. Open file %LOCALAPPDATA%\Code\app-[version]\resources\app\client\vs\workbench\workbench.main.js.
  2. Search openTerminal and locate the function that's related to "cmd.exe".
  3. Replace "start","/wait" of ["/c","start","/wait"] with what you want. E.g., "C:\\Program Files\\Git\\git-bash.exe".

Done and enjoy.