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 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.
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.
Any users having slowness problems in Windows 7 may like to check out this related question which explains that it is because of UAC. The solution is to Run as Administrator
.
Unfortunately this doesn't resolve the symptoms described in the question (just slow at startup) on my XP machine.
Upgrading to the latest version (1.7.3.1) seems to have resolved this problem for me, on XP.
I have get the same problem, each "Entry" need more than 10 seconds to get response. And also need more than 20 seconds to start the shell. I have re-install the git, the problem also existed. So I think about that what I have done at recent days, I have add some dir to the PATH, and I have add many tools into the directory. So, I try to remove the directory from the PATH, and after that, the Shell returned to normal.
$ cat ~/.profile
#!/bin/bash
#export PATH=$PATH:"/c/Program Files/qemu/"
#export PATH="/d/rootfs/bin":"/d/rootfs/usr/bin":$PATH
#export PATH="/c/Program Files (x86)/CodeBlocks/MinGW/bin":$PATH
#export LD_LIBRARY_PATH="/d/rootfs/lib/"
alias ..="cd .."
alias ll="ls -l"
#alias make=mingw32-make.exe
#alias bash=bash.exe
#alias sh=sh.exe