Recently I have this problem all the time when I try to commit, push or pull.
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree pull origin master
From https://github.com/ferdianjovan/phd_thesis
* branch master -> FETCH_HEAD
error: Unable to create '/Users/jlw/Documents/phds/ferdi/phd_thesis/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Updating 9af7830..8772a55
Completed with errors, see above
This happens across multiple repos, and operations. Any suggestions?
By the way, I've tried killing stray git processes, restarting, and deleting the index.lock file. These don't seem to work (at least not reliably)
Did you find an answer to this problem?
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.