$ git clone -n http://git.inferitos.ru/rpms/phodav /var/lib/mock/inferit-9_5-spice-build-67794-149473/root/chroot_tmpdir/scmroot/phodav Cloning into '/var/lib/mock/inferit-9_5-spice-build-67794-149473/root/chroot_tmpdir/scmroot/phodav'... $ git fetch origin changed/i9-spice/phodav-3.0-5.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 66e8ffcd9cd8f518bb8f7036878bae2b0f7544a3 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/phodav ! [new tag] changed/i9-spice/phodav-3.0-5.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9-spice/phodav-3.0-5.el9 HEAD is now at 26a8120 import phodav-3.0-5.el9