且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误:git checkout-index:无法创建文件(权限被拒绝)

更新时间:2021-11-11 05:17:59

在我的情况下,与git受控目录添加为崇高项目中的文件夹。关闭崇高后,我可以切换分支而不出问题。

In my case it was having sublime text open with the git controlled directory added as a folder in the sublime project. After closing sublime I was able to switch branches without a problem.