Last Updated: February 25, 2016
·
935
· koxzi95

Git Bash Startup Location (windows)

This is a really short tip about Git Bash and it's startup config.

Firstly, if your on windows I recommend you upgrade to the latest version of Git!

Anyway. If you find the git bash startup location (directory) annoying then it can be changed. Ever modified .bashrc on OSX or Linux? You can do the same on windows.

Go to your C:\Users\Name directory and create a file called .bashrc

In there add the line: cd C:/Sites/
(or anywhere you'd like the console to go).

When you open your Git Bash now you'll be pointed in the right direction.