Git Status Takes a Long Time to Complete

Have you tried repacking? git-repack.

Otherwise, try duplicating the directory, and deleting the .git folder in the duplicated directory. Then create a new git directory and see if it's still slow.

If it's still slow, then it sounds like a system or hardware issue. Git finishes status on hundreds of files for me in less than 5 seconds.


Running git fsck has resolved this issue for me in the past.


Are you using some kind of virus protection software? Maybe that is interfering with things. git is very fast for me on windows with repositories of 1000's of files.


Have you tried git gc? This cleans cruft out of the git repo.

Tags:

Windows

Git