Open chrhasi opened 4 years ago
Hi Christoph- as an initial investigation, could you do a quick search of the BFG code base and see where the string "pull" occurs, to see where the BFG might be acting on that string?
Ok, in the meantime i found out that i was wrong thinking that the BFG is the problem. I already have the pull request in the repo after the mirror-cloning:
$ git remote show origin
remote origin Fetch URL: ........ ...
HEAD branch: master Remote branches: BatteryLibTest tracked dev tracked master tracked refs/pull-requests/1/from tracked
Local refs will be mirrored by 'git push'
Do you know how that happens?
Hello,
I'm trying to clean a repo in bitbucket with BFG repo cleaner. When i try to push the cleaned repo, i get this error message:
remote: You are attempting to update refs that are reserved for Bitbucket's pull request functionality. Bitbucket manages these refs automatically, and they may not be updated by users.
I did never create any pull requests, but i see that the so called pull-request-ref points to a commit with the word "pull" in the commit message. Is that an error in the BFG code or is bitbucket the problem? I already found a solution (https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-reserved-refs-when-cleaning-up-with-BFG-tool/qaq-p/702969), but i don't want to set up a new repo, because i'm not the owner of it and i think this might be a bug in BFG.
Thanks for all advices Christoph