Speeding up Git on Windows

If you are working in a corporate environment, your home directory is usually mapped to a network location. So when you start Git Bash in Windows, it look up the .bashrc and .bash_profile in your home directory over the network, thus delaying about 1 to 2 seconds. So to overcome that, create a directory on your harddrive, and create an environment variable called HOME pointing to that new directory. So Git Bash will use this directory look up the bash files. Also change the shortcut’s ‘Start In’ to %HOME%.

More on that here: http://danlimerick.wordpress.com/2011/07/11/git-for-windows-tip-setting-home-and-the-startup-directory/

Advertisements