Mickey
Mickey

Reputation: 31

Git is very slow

I am using now git in Windows 10, and when I try any command it takes lot of time. This is only the case in my office network. At home, everything work fine as it should be. Is there any extra configuration has to be done?

Upvotes: 2

Views: 4139

Answers (2)

Lucas
Lucas

Reputation: 1

This helpt me.

Uninstall git-bash. Remove the ..\program files\Git directory. Then reinstall by running the installer as administrator.

Upvotes: 0

dejanualex
dejanualex

Reputation: 4358

This is due to the fact that maybe you are behind a corporate proxy, also you cat try in your Git Bash to do echo $HOME and you should see different results when you are on the office network and on your home network, you can change this variable directly in git bash using: export HOME=\c\Users\<desired_path> (keep in mind this change will not be persistent).

Also a good thing is to check if your PATH has unnecessary things in it, which can slow things down:

Windows cmd: set %PATH%

Git Bash: echo $PATH

Upvotes: 2

Related Questions