A quick guide on how to configure a Git Bash profile in Windows Terminal
i This guide presumes that Git is installed under the users profile location and that your working Git folder is c:\git. You might need to adjust the guide accordingly.
Configuration
-
Open the Windows Terminal
-
Open the Settings page. Pressing “ctrl” + “,” will do this for you.
-
Select the Add New Profile button.
-
Click on the New Empty Profile button.
-
Set the Name field to Git Bash
-
Set the Command Line field to be:
C:\Users\<username>\AppData\Local\Programs\Git\bin\bash.exe -
Set the Starting Directory to be:
C:\git -
Click on Save.