Ways to improve git status performance

后端 未结 10 837
遇见更好的自我
遇见更好的自我 2020-12-02 06:51

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

10条回答
  •  自闭症患者
    2020-12-02 07:12

    git config --global core.preloadIndex true

    Did the job for me. Check the official documentation here.

提交回复
热议问题