Hi,
When I tried to merge PRs in my bitbucket cloud repo, it fails with a generic message (something went wrong).
When I tried to merge locally and push the merged branch, I got the following error:
remote: error: cannot lock ref ‘refs/heads/master’: Unable to create ‘./refs/heads/master.lock’: File exists.
remote:
remote: Another git process seems to be running in this repository, e.g.
remote: an editor opened by ‘git commit’. Please make sure all processes
remote: are terminated then try again. If it still fails, a git process
remote: may have crashed in this repository earlier:
remote: remove the file manually to continue.
It looks like the remote (bitbucket cloud) has a remaining lock file which I can't access or delete. I can't delete the branch or otherwise overcome this issue.
What should be done?
Thanks