$ git clone -n http://git.inferitos.ru/rpms/spice /var/lib/mock/inferit-9_4-extras-build-55018-121552/root/chroot_tmpdir/scmroot/spice Cloning into '/var/lib/mock/inferit-9_4-extras-build-55018-121552/root/chroot_tmpdir/scmroot/spice'... $ git fetch origin changed/i9-spice/spice-0.15.1-6.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object ff292a70118c40ddc3ee5a19b8330e7c56643df5 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/spice ! [new tag] changed/i9-spice/spice-0.15.1-6.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9-spice/spice-0.15.1-6.el9 HEAD is now at b3f804c import spice-0.15.1-6.el9