$ git clone -n http://git.inferitos.ru/rpms/libheif /var/lib/mock/inferit-9-epel-build-19032-27811/root/chroot_tmpdir/scmroot/libheif Cloning into '/var/lib/mock/inferit-9-epel-build-19032-27811/root/chroot_tmpdir/scmroot/libheif'... $ git fetch origin changed/i9/libheif-1.16.1-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object d381f39ebe1e1a0e2dd6662ebe83867614529967 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/libheif ! [new tag] changed/i9/libheif-1.16.1-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9/libheif-1.16.1-1.el9 HEAD is now at c01b0a0 import libheif-1.16.1-1.el9