I have a repo of 10 GB on a Linux machine which is on NFS. The first time git status
takes 36 minutes and subsequent git status
takes 8 minutes. Se
Something that hasn't been mentioned yet is, to activate the filesystem cache on windows machines (linux filesystems are completly different and git was optimized for them, therefore this probably only helps on windows).
git config core.fscache true
git config core.ignoreStat true
BUT: Changed files have to be added afterwards by the dev himself with git add
. Git doesn't find changes itself.
source