以下の内容はhttps://en.bioerrorlog.work/entry/vscode-default-terminal-git-bashより取得しました。


How to Set Git Bash as Default Terminal in VSCode

A quick note on how to change the default terminal in VSCode to Git Bash.

Introduction

After not using Windows for a while, I noticed that my default terminal in VSCode was set to PowerShell.

Here's a quick reminder on how to switch it to Git Bash.

Note: This article was translated from my original post.

How to Set Git Bash as the Default Terminal in VSCode

Steps:

  1. Open Settings
  2. Type terminal.integrated.defaultProfile.windows in the search bar
  3. Select Git Bash from the dropdown

Let's walk through each step.

1. Open Settings

First, open Settings by going to: File > Preferences > Settings

Opening Settings from the menu

Once Settings is open, type terminal.integrated.defaultProfile.windows in the search bar. This will bring up the default terminal configuration.

Typing terminal.integrated.defaultProfile.windows in the search bar

3. Select "Git Bash" from the dropdown

Now simply select Git Bash from the dropdown menu.

Selecting Git Bash

That's it — your default terminal is now set to Git Bash. When you open a new terminal, it will launch Git Bash.

A new terminal launching with Git Bash

Conclusion

That was a quick note on how to set Git Bash as the default terminal in VSCode.

That's all!

[Related Articles]

en.bioerrorlog.work

en.bioerrorlog.work




以上の内容はhttps://en.bioerrorlog.work/entry/vscode-default-terminal-git-bashより取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14