git使用经验总结(自用)

Could not open '***.VC.opendb'报错

如果打开项目的时候,报“Could not open '***.VC.opendb'”之类的错误,说明git版本控制中加入了***.VC.opendb。

***.VC.opendb是在项目打开的时候产生的零时文件,每次打开*.sln都会重新产生一个新的,然后在关闭工程的时候,该文件会自动删除。因此,每次重新打开工程项目的时候,git会报错说找不到正确的该文件。

解决方案:

在 "项目路径\.git\info\" 路径下找到 "exclude" 文件打开,在末尾加上 "*.opendb" 以忽略上述文件。


(PS:参考链接:https://blog.csdn.net/wk89665944/article/details/51240011)

发布了55 篇原创文章 · 获赞 63 · 访问量 7万+

猜你喜欢

转载自blog.csdn.net/m0_38068229/article/details/103287975