Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用git提交代码时,显示使“Could not open '***.VC.opendb'”:Permission denied #2

Closed
HuangCongQing opened this issue Apr 26, 2019 · 0 comments

Comments

@HuangCongQing
Copy link
Owner

image

**.VC.opendb是在项目打开的时候产生的零时文件,每次打开.sln都会重新产生一个新的,然后在关闭工程的时候,该文件会自动删除。

因此,每次重新打开工程项目的时候,git会报错说找不到正确的该文件。

因此提交代码要把 "*.opendb" 放在.ignore以忽略上述文件。

image
在仓库里x新建一个.gitignore文件,在里面添加*.opendb,如图哦,即可

具体见链接:https://blog.csdn.net/wk89665944/article/details/51240011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant