Удалить index.lock

Проблема

fatal: Unable to create '/Users/kirillgusev/PhpstormProjects/fs3/.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.

Решение

rm -f ./.git/index.lock
 10   2022   git