$ git clone -n http://git.inferitos.ru/rpms/aml /var/lib/mock/inferit-10_0-extras-build-85155-156613/root/chroot_tmpdir/scmroot/aml Cloning into '/var/lib/mock/inferit-10_0-extras-build-85155-156613/root/chroot_tmpdir/scmroot/aml'... $ git fetch origin changed/i10ce/aml-0.3.0-5.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 8a866aa65f5dcd2377efbefc4079cc8e1af5e378 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/aml ! [new tag] changed/i10ce/aml-0.3.0-5.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/aml-0.3.0-5.el10 HEAD is now at de0909b import aml-0.3.0-5.el10