Git Status Takes a Long Time to Complete

后端 未结 13 720
一整个雨季
一整个雨季 2020-12-12 20:32

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

13条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 20:36

    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.

提交回复
热议问题