I'm logged in as an admin user but cannot checkin files into a git repository. I keep getting:
fatal: Unable to create '.../.git/index.lock': Permission denied
I did try ls -la .git/index.lock
but get a not exist error.
I haven't found anything to fix this. Does anyone have some suggestions?
After running several command lines with no luck, I deleted the index.lock file. Then ran more commands with no luck. Then I deleted the local repository and downloaded again. This time everything is working and I can check in files.