设置:
- Windows 10
- Visual Studio 2015 有更新
- 以管理员模式运行
我无法使用 Visual Studio 2015 提交我的更改,因为没有出现提交选项。
当我转到源文件夹并尝试从那里提交时,我没有更改文件,因此我单击“Stage Changed”,这会 pop 一个对话框“Stage n
个未跟踪的文件?”,我点击“是”。
然后我看到一个失败错误:
error: open("myfile.VC.opendb"): Permission denied fatal: Unable to process path myfile.VC.opendb
myfile
只是某个任意文件的名称。
但是,如果我关闭解决方案然后尝试从文件夹提交,一切都会按预期进行...
这是怎么回事?我有所有更新。
最佳答案
.opendb
文件是在 Visual Studio 2015 更新 1 中添加的,但直到更新 1 发布后才添加到默认的 .gitignore
文件中。
您可以使用更新版本,found here ,.opendb
扩展名是在 2015 年 12 月 1 日添加的:
关于git - Visual Studio 2015 和 Git 错误 : open ("somefile.VC.opendb"): Permission denied fatal: Unable to process path myfile. VC.opendb,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34975423/