Git error: cannot lock existing info/refs
I just messed up my local repository. Thankfully there was an answer in StackOverflow.
When I try to push to my origin I got:
error: cannot lock existing info/refsI managed to fix it by running
git update-server-infoYou may need to close and reopen your console again. It happens sometime that your console is locking the Git instance.