将git用于VS2010项目:Can';t添加文件*.opensdf 我使用Git跟踪VS2010中的C++项目。我使用stackoverflow上的ignore模式,它通常不排除*.opensdf文件。不幸的是,在尝试提交文件时,出现以下错误: error: open("foo.opensdf"): Permission denied error: unable to index file foo.opensdf fatal: adding files failed
为什么会出现这种错误,如何避免?因为我是VS2010的新手,这个文件有什么用 谢谢将git用于VS2010项目:Can';t添加文件*.opensdf 我使用Git跟踪VS2010中的C++项目。我使用stackoverflow上的ignore模式,它通常不排除*.opensdf文件。不幸的是,在尝试提交文件时,出现以下错误: error: open("foo.opensdf"): Permission denied error: unable to index file foo.opensdf fatal: adding files failed,c++,git,visual-studio-2010,C++,Git,Visual Studio 2010,为什么会出现这种错误,如何避免?因为我是VS2010的新手,这个文件有什么用 谢谢 mort*.opensdf是仅在.vcxproj/.sln加载到Visual Studio IDE时打开的临时文件。应该将其添加到.gitignore文件中 请参阅此问题的公认答案:有一个社区gitignore文件,该文件保持最新:
mort*.opensdf是仅在.vcxproj/.sln加载到Visual Studio IDE时打开的临时文件。应该将其添加到.gitignore文件中
请参阅此问题的公认答案:有一个社区
gitignore
文件,该文件保持最新: