$ git clone -n http://git.inferitos.ru/rpms/xsane /var/lib/mock/inferit-10_0-extras-build-89156-162239/root/chroot_tmpdir/scmroot/xsane Cloning into '/var/lib/mock/inferit-10_0-extras-build-89156-162239/root/chroot_tmpdir/scmroot/xsane'... $ git fetch origin changed/i10ce/xsane-0.999-76.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 0603793fc6b6a2aeeed246f871490b4459aebaaf to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/xsane ! [new tag] changed/i10ce/xsane-0.999-76.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/xsane-0.999-76.el10 HEAD is now at b37a2e6 import xsane-0.999-76.el10