$ git clone -n http://git.inferitos.ru/rpms/epel-rpm-macros /var/lib/mock/inferit-10_0-epel-build-87205-159273/root/chroot_tmpdir/scmroot/epel-rpm-macros Cloning into '/var/lib/mock/inferit-10_0-epel-build-87205-159273/root/chroot_tmpdir/scmroot/epel-rpm-macros'... $ git fetch origin changed/i10ce/epel-rpm-macros-10-2.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 0c8289c3c8de01786e682f233264caa94d6946a2 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/epel-rpm-macros ! [new tag] changed/i10ce/epel-rpm-macros-10-2.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/epel-rpm-macros-10-2.el10 HEAD is now at 01d2db4 import epel-rpm-macros-10-2.el10