The, “another git process seems to be running” error occurs when you open multiple Terminals to use git. However, do not worry, there is an easy fix for this:
Save your data and run the following on the terming:
rm -f .git/index.lock
This will delete the index.lock
file that stores all the locks placed to stop other files from making changes.
Deleting this file releases the locks so that other files can make such changes.
If there is no index.lock
file, delete the HEAD.lock
file by typing:
rm -f .git/HEAD.lock
This should delete the HEAD.lock
file and release the lock so that the file can be committed.
Free Resources