1

I have been trying to push my code to GitHub but it's saying "Another git process seems to be running in this repository" I don't understand, pls what could be the problem

Gerhardh
  • 11,688
  • 4
  • 17
  • 39

1 Answers1

0

If the full error message is (as in here)

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

Start with rm -f .git/index.lock (assuming indeed no other git process is running).

Then you can try again.

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250