0

So I see there are lots of solutions to my problem. My issue is that as a git newbie, nobody seems to explain it in a way that people like myself can understand. I'm trying to use git add . and it produces this error:

$ git add .
error: open("fileDirectory"): Permission denied
error: unable to index file 'files'
fatal: adding files failed

A solution I saw that supposedly worked perfectly for other people was to have it default to run as administrator by editing the Git Bash.vbs (reference: Unable to modify git bash Windows shortcut ) , but they don't explain where to go to even begin to attempt this. I just felt as if it were not very beginner friendly and left me with more questions than answers. Note: It wouldn't let me leave a comment to simply ask because my reputation was not high enough yet! Some help on this would be much appreciated as I would like to be able to keep good version control over my unity projects. I am using windows 10

UPDATE: I tested the whole process of using git in a test directory with just a text file and it worked fine. The directory that isn't working is my unity project, so I'm unsure if there's something any of you unity guys have done to fix this issue?

cgaudet
  • 55
  • 1
  • 9

0 Answers0