git clone --mirror https://github.com/exampleuser/repository-to-mirror.git cd repository-to-mirror.git git push --mirror https://github.com/exampleuser/mirrored
The output shows that the repository is pushed as a mirror, but for some reason I'm getting these errors as well:
! [remote rejected] refs/pull/1/head -> refs/pull/1/head (deny updating a hidden ref) ! [remote rejected] refs/pull/1/merge -> refs/pull/1/merge (deny updating a hidden ref)
What are these errors? Can I assume the repository was mirrored ?