Windows 上的 Vagrant - git 协议错误

Windows 上的 Vagrant - git 协议错误

我在 Windows 上设置了一台带有共享文件夹的 vagrant 机器来编写我的项目。我使用 git,有时当我执行 git checkout 或 git merge 时,我会收到以下错误:

error: unable to create file XXXXX: Protocol error

然后 git 进程就无法完成,留下了未提交的更改,而这些更改实际上不应该存在。我尝试查找这个错误,但没能找到答案。我能找到的最接近答案的是这个帖子:

https://stackoverflow.com/questions/43763026/unable-to-create-drivers-xxx-xxx-xxx-c-protocol-error

这并没有真正回答问题。

相关内容