- Add a new directory named “src” to your Git root directory (C:\Users\Chris). I.e., C:\Users\Chris\src
- Create a new environment variable that points to it:
GITSOURCE = %HOME%\src
-
Right-click the icon for Git Bash, and open it’s properties page.
-
Set the “Start in value”=%GITSOURCE%
(%HOMEDRIVE%%HOMEPATH%)
Git Bash Properties
Target: “C:\Program Files (x86)\Git\bin\sh.exe” –login -i”
For the x64 version: “C:\Program Files\Git\git-bash.exe” –cd-to-home