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/


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: