Git Status Takes a Long Time to Complete
I'm using git
to manage files in a local directory on a Windows machine - no network is involved here, I'm not pushing or pulling to/from another machine. My directory has maybe 100 files in it, all test files, pretty small. When I run git status
, it regularly takes 20-30 seconds to complete. Is this normal? Is there anything I can do to speed it up, or a better way to see what the state of my repository is (changed files, untracked files, etc)? Other git
commands seem to complete much faster.
Have you tried git gc? This cleans cruft out of the git repo.
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.