Кажется, в этом репозитории запущен другой процесс git.
Кажется, в этом репозитории запущен другой процесс git.
fatal: Unable to create ‘/home/kingsleyakindele/projects/know-my-right/.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.
На самом деле это происходит, когда несколько команд Git выполняются в одном репозитории.
Итак, как я решил это?
Довольно просто!
rm -f .git/index.lock