$ git clone -n http://git.inferitos.ru/rpms/re2 /var/lib/mock/inferit-10_0-extras-build-85718-156955/root/chroot_tmpdir/scmroot/re2 Cloning into '/var/lib/mock/inferit-10_0-extras-build-85718-156955/root/chroot_tmpdir/scmroot/re2'... $ git fetch origin changed/i10ce/re2-20240702-3.el10:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 95358ba443f3ae8fe42aa46b0bd7da8ff52a9d90 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/re2 ! [new tag] changed/i10ce/re2-20240702-3.el10 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/re2-20240702-3.el10 HEAD is now at 58fae8b import re2-20240702-3.el10