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
Hello @Inbar Shani ,
and welcome to the Community!
I see you have access to a Bitbucket workspace with an active subscription that entitles you to our standard support. I have raised a support ticket on your behalf so we can assist you in removing that lock file.
You should receive an email with the ticket link in the next few minutes. To expedite the resolution, we kindly ask you to share in the support ticket which repository is affected by this error.
If you haven't received the ticket link in your email, please let me know so I can share it here (the ticket is only visible to you and Atlassian staff).
Thank you, @Inbar Shani !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.