I had to use git client in my corporate Windows machine for my current project and I am extensively using it for the past two months. For some reason, for about a week's time, I was having this feel of git client on the command line, running really slow. I thought of doing something up to speed up things and then found these nifty commands:
git config --global core.preloadindex true git config --global core.fscache true git config --global gc.auto 256
If you like this post, please do support me by buying me a pizza!
Buy me a Pizza
The descriptions of the above lines of commands are:
core.preloadindexdoes filesystem operations in parallel to hide latency (update: enabled by default in git 2.1).
core.fscachefixes UAC issues so you don't need to run git as admin (update: enabled by default in Git for Windows 2.8).
gc.autominimizes the number of files in
This at least gave me a better speed of git client running on the command line for the time being.