git can I speed up committing?

前端 未结 3 1679
走了就别回头了
走了就别回头了 2021-02-04 01:02

I have a big repository in a shared folder. I use git from within a VM on that folder. Everything works nice, but the repository is big and git\'s searching through all director

3条回答
  •  一向
    一向 (楼主)
    2021-02-04 01:36

    As an alternative to changing your natural workflow, you could work on a clone that lives in a directory that's private to the VM. Then you push to the repository on the shared folder (which can probably be a bare repository) only when you want to publish your work to the outside environment.

提交回复
热议问题