IMG-LOGO

Another git process seems to be running in this repository

andy - 14 Jul, 2021 13665 Views 2 Comment

If you receive the following error message. "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.". It means there is another instance currently running to process the same commit action. There is a git lock file created in the root folder and you need to delete it.

To fix this issue is quite easy. You can simply run the following code in the command prompt.

rm .git/index.lock

Below is the screenshot taken in Visual Studio Code.

Comments

Tao
20 Jun, 2022
Helpful, thanks!
Jorge
02 Aug, 2023
Thanks, I really really love when a blog goes straight to the solution
Write Comment
0 characters entered. Maximum characters allowed are 1000 characters.

Related Articles