Git push error: failed to push some refs to

When I push from local repository to GitHub repository I get error message.
All my changes on my local repository is committed to GitHub repository. But I don’t understand the error message.

Enumerating objects: 8, done.
Counting objects: 100% (8/8), done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 934 bytes | 934.00 KiB/s, done.
Total 4 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.

------------------------- This is the error message ----------------
! [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)
error: failed to push some refs to 'https://github.com/

Your next task should be using Google with something like “deny updating a hidden ref”.

1 Like