I am using Git on Windows 7 and access my repositories through Git Bash. How can I change the default location that Git Bash opens in a convenient folder when I start it?
Git bash is used to play with bash commands. So I use bash method itself in windows Git bash
Edit your .bash_profile
(create it if you doesnot have one - see below how to create). Enter the following lines.
alias ws="cd /d/workspace/"
ws
Smilyface@SmilingMachine /d/workspace
$ cat ~/.bash_profile
alias ws="cd /d/workspace/"
ws
touch ~/.bash_profile
OR write into the file directly
vi ~/.bash_profile
Simple, aha !