You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I try to push, I’m encountering the following errors:
! [remote rejected] refs/pull/7/head -> refs/pull/7/head (deny updating a hidden ref)
! [remote rejected] refs/pull/8/head -> refs/pull/8/head (deny updating a hidden ref)
! [remote rejected] refs/pull/9/head -> refs/pull/9/head (deny updating a hidden ref)
error: failed to push some refs to 'https://github.com/test-co/github-action-poc'
It seems the pull request (PR) references are causing issues. How can I remove the mongodb.key file from the repository, including PRs, and successfully push my changes? What is the correct approach for this?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
You can grep this "remote rejected" from github issues and see that technically the valid way is to create a new repo and push mirror clone edited with BFG to this new repo. Github and Bitbucket do have those internal refs and don't want you to change them.
I want to remove a sensitive file mongodb.key from my GitHub repository, including its history. I followed these steps:
However, when I try to push, I’m encountering the following errors:
It seems the pull request (PR) references are causing issues. How can I remove the mongodb.key file from the repository, including PRs, and successfully push my changes? What is the correct approach for this?
Thanks in advance!
The text was updated successfully, but these errors were encountered: