Reputation: 747
Getting an error when trying to commit and push:
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.
What I tried:
No result.
Upvotes: 0
Views: 120
Reputation: 747
the error has nothing to do with the real cause of the problem. Spend time "fighting" with what I am not suppose to "fight" at all, lol.
I did ga . & gcmsg "updated" && gp
instead of ga . && gcmsg "updated" && gp
🤣
Maybe will be helpful for someone.
Upvotes: 1