• Register
Welcome to Kodlogs, programming questions and answer website.
+1 vote
37 views

Problem :

I need solution for bellow GIT error
another git process seems to be running in this repository, e.g. an editor opened by 'git commit'.
by (6.9k points)  

1 Answer

0 votes

Solution :

Please use following command in case you are facing 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 after that 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

git reset 

and after reset command use 

git status, git add, and git commit -a or git commit -m "your message", git push origin master.

by (36.1k points)  
...