DEV Community

Henrique Holtz
Henrique Holtz

Posted on

How to embed your git bash into Visual Studio

Today you'll learn how to integrate your git bash straight into your Visual Studio. In the end it'll looks just like this:

Git bash embedded into VS


To do that you need open the terminal configuration section in the following tab: Tools => Options => Environment => Terminal.

Then you should click in the Add button and configure its name and the path location pointing to the basn.exe. The most important part here is to add -i -l in the arguments field. These arguments are to set up the git bash to be open embedded.

Usually the bash's location is similar as C:\Program Files\Git\git-bash.exe

Optionally you can set this terminal as default.

The configuration should looks similar as the following image:

Terminal config

Now, to open the terminal go to View => Terminal. If you didn't set up the git bash as default you'll need to open it explicitly like this:

Opening the git bash

Hopefully it'll be pretty useful to have the power of git bash directly into your VS! Thanks for reading.

Billboard image

Monitor more than uptime.

With Checkly, you can use Playwright tests and Javascript to monitor end-to-end scenarios in your NextJS, Astro, Remix, or other application.

Get started now!

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay