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'''
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'''
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.