$ git clone -n http://git.inferitos.ru/rpms/raspberrypi-userland /var/lib/mock/inferit-10_0-extras-build-89197-162356/root/chroot_tmpdir/scmroot/raspberrypi-userland Cloning into '/var/lib/mock/inferit-10_0-extras-build-89197-162356/root/chroot_tmpdir/scmroot/raspberrypi-userland'... $ git fetch origin changed/i9/raspberrypi-userland-0.0.2-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object c652361cdd39b8c2c56de373a3ccf462bf48b12d to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/raspberrypi-userland ! [new tag] changed/i9/raspberrypi-userland-0.0.2-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9/raspberrypi-userland-0.0.2-1.el9 HEAD is now at 0f540e3 import raspberrypi-userland-0.0.2-1.el9