hi, i'm trying to use sourcetree to manage my local mamp pro site. so with git and sourcetree installed i use my local development directory as a workging-directory. when i try to check unstaged file i get this error:
fatal: Unable to create 'developmentsite.dev/.git/index.lock': Permission denied
i check the permision on this directory and the mac user (me) and _www user (mamp pro) can write and read on this directory.
so what can i do to resolve the problem?
I was having same issue. try to execute commands as root user. When I tried git checkout it was not working. But when I used it with sudo it worked!
On the web the issue is that index.lock is still exist. My problem is that i can't create this file for a permission issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the web the issue is that index.lock is still exist. My problem is that i can't create this file for a permission issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.