$ git clone -n http://git.inferitos.ru/rpms/ocserv /var/lib/mock/inferit-10_0-epel-build-86780-158530/root/chroot_tmpdir/scmroot/ocserv Cloning into '/var/lib/mock/inferit-10_0-epel-build-86780-158530/root/chroot_tmpdir/scmroot/ocserv'... $ git fetch origin changed/i10ce/ocserv-1.3.0-5.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 4a3f71c588bc15844ef3b3b0012db0515c9fdf0b to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/ocserv ! [new tag] changed/i10ce/ocserv-1.3.0-5.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/ocserv-1.3.0-5.el10 HEAD is now at 4cad8cb import ocserv-1.3.0-5.el10