Integrate Git Bash with Visual Studio Code

Home >> Blog >> Integrate Git Bash with Visual Studio Code
By Admin Sep 04, 2020

Integrate Git Bash with Visual Studio Code: (VSCode Terminal Bash)
To Integrate Git Bash with Visual Studio Code please follow the below instruction step by step.
Integrate Git Bash with Visual Studio Code : (VSCode Terminal Bash)

Following are the steps:

  1. First, Install Git Bash - Download & Install Git
  2. Second, Install Visual Studio Code - Download & Install Visual Studio Code
  3. Now, Open your Visual Studio Code Editor, and Go to File > Preferences > Settings (Ctrl + ,)
  4. Note: if you are not able to find then click on ... on right side and open settings.json

  5. Now, Copy Paste the following code in User Settings
  6. // Git Bash "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"

    Ref Link - https://code.visualstudio.com/docs/editor/integrated-terminal

  7. To Check, Press Ctrl + ~ (Control+Tilde) and your Bash Terminal will open with bash.
  8. Congrats!, you have successfully Integrated Git Bash with your Visual Studio Code.