Hi,
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
Hi,
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
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.
Hmm, sounds like I'm having the exact same problem. The startup lag (30s+) wouldn't be so much of a pain, but the prompt is taking a long time to come back from almost any other call, too (3-4s for just pressing enter).
I cleared out my .bash_history and .bashrc (I had a single alias set up before, ls='ls --color'), and it seems to have gotten a little better, but it's still unfortunately painful. Uninstall/reinstall didn't help either.
I'm using Git-1.6.5.1-preview20091022 on windows XP, 2 gig of ram etc - but I doubt it's the computer. Additionally, on my ubuntu partition git runs fine.
My partition is a little full (93%), but defragging and clearing out old movies hasn't helped, even when followed by the uninstall/reinstall mentioned above. :-/
Hi, Guys.
I decided to use Powershell with Git. It works great and fast. you can even wire other git UI, like QGIt (I found it richer then the Git Gui and Gitk).
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.
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%
.