We are going through an exercise to remove secrets from the codebase as well as from the commit history.
The secrets scanning tool highlights two refs as having commits containing files with secrets. These refs are bitbucket's internal, and hence does not allow any changes to them to be pushed to the repository.
Is there an way I can delete these internal refs, or any workaround to get rid of them.