

In my case, but almost always this value is C:\Program Files\Git\git-bash.exe (so you can save yourself the trouble work with this one)

After that I'll show the correct approach!įinding the path to the Git-Bash exe can be done in 3 simple steps:

The idea is that I first found a suboptimal solution (out of a naive approach), which I'll explain first. I discovered pretty quick that there was a catch and in this post, I want to show you what I did, why it didn't work and finally, how you need to approach this.Īll you need, or so I thought, is to add the exe of Gi-Bash to a new windows terminal profile. At that moment, I didn't realize that this would result in a blogpost 😉. and I immediately showed him how this can be done via the settings of Windows terminal. First thing he asked then, was if it would be possible to add Git-Bash as a tab. This morning I saw a colleague working in Git-Bash and the good-old-fashioned "windows command line" and I thought to myself, why doesn't he "just" use Windows terminal? So, I showed him Windows Terminal and he was impressed.
