1

I want to push my unity code on GitHub but I get this error.

'''Git failed with a fatal error. error: open(".vs/Unity_Second_Game/v16/Browse.VC.opendb"): Permission denied fatal: Unable to process path .vs/Unity_Second_Game/v16/Browse.VC.opendb'''

Adrian Mole
  • 43,040
  • 110
  • 45
  • 72
  • 1
    Does this answer your question? [GitHub Commit Error: Permission denied fatal: Unable to process path ~/App\_Data/aspnet-MyProject.mdf](https://stackoverflow.com/questions/47255844/github-commit-error-permission-denied-fatal-unable-to-process-path-app-data) – aya salama Mar 21 '20 at 17:39

1 Answers1

0

You should not be including and VS files on github. Here is a link to the official .gitignore for unity.

For this specific situation, the main line of note is

# Visual Studio cache directory
.vs/

You can just copy and paste the whole ignore into the root of your repo.

Derek C.
  • 825
  • 6
  • 19