You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hit this today as well. I was reverting the deletion of 8,000+ files (via "discard all changes" and GitHub Desktop would revert about 1,000-1,500 of them and then crash. VS Code was open pointed at this directory, but I'm thus far unable to repro on my laptop (different machine) with the same setup.
Two occurrences of a lock file error that caused problems for a user in #9629
Attempting to stash the local changes produced this error message from git:
fatal: Unable to create '/Users/eric/Dev/sjma-50x50/.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.
and
the error never surfaced when the user was cloning a repo. The repo became corrupted as a result and the user had to reclone.
Activity
shiftkey commentedon Feb 7, 2017
Everything is terrible (note that it's not git.exe doing this):
NickCraver commentedon Feb 8, 2018
I hit this today as well. I was reverting the deletion of 8,000+ files (via "discard all changes" and GitHub Desktop would revert about 1,000-1,500 of them and then crash. VS Code was open pointed at this directory, but I'm thus far unable to repro on my laptop (different machine) with the same setup.
Attaching logs in case this scenario helps: 2018-02-07.desktop.production.log
tierninho commentedon Apr 28, 2020
Two occurrences of a lock file error that caused problems for a user in #9629
and
the error never surfaced when the user was cloning a repo. The repo became corrupted as a result and the user had to reclone.
Offer to remove a left-over index.lock
feat: a git error caused by a left-over index.lock explains it and of…
Offer to remove a left-over index.lock
Offer to remove a left-over index.lock
feat: a git error caused by a left-over index.lock explains it and of…