I am trying to do a git push as shown below
git push origin HEAD:refs/master It is giving the below logs
Counting objects: 24, done. Delta compression using up to 12 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 454 bytes | 0 bytes/s, done. Total 4 (delta 1), reused 0 (delta 0) remote: Resolving deltas: 0% (0/1) To ssh://deepu.t@... I am getting below error after that
! [remote rejected] HEAD -> refs/master (ref exists) I have searched and couldn't find anything related to this error.
(ref exits)
Please help!!