I have a small problem with git in my pc, I create a new folder and i start Git Bash, but it takes so long for it load git, as in it will show the command prompt but it need a while for the git line to show up.
Any clue on this?
Thanks
I had a similar problem. Turned out that the home directory was on a network drive and this caused alot of slowdown.
You can check your home directory by typing echo $HOME
in Git bash. If it points to a network drive you can change it to a local path (for example C:\documents and settings\<login>
on XP) by setting the HOME
environment variable in Windows.
If start-up is still slow, see if the starting directory for the Git Bash shortcut is %HOMEDRIVE%%HOMEPATH%
. If so, try changing it to %HOME%
.
You may not be aware that you don't actually need to use the "Git Bash" shell. If you add the directory containing git.exe
to your PATH
environment variable, then you can simply run git
commands from the regular Windows command prompt.
Upgrading to the latest version (1.7.3.1) seems to have resolved this problem for me, on XP.
Could you check your .bashrc
?
Sometime, a prompt a little too much sophisticated can render the shell slow to respond.
See this blog entry as an illustration.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With