$ git clone -n http://git.inferitos.ru/rpms/pcre /var/lib/mock/inferit-10_0-extras-build-91098-167572/root/chroot_tmpdir/scmroot/pcre Cloning into '/var/lib/mock/inferit-10_0-extras-build-91098-167572/root/chroot_tmpdir/scmroot/pcre'... $ git fetch origin changed/i10ce/pcre-8.45-1.el10.7:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 27c1829fcd64d4505df6b38ac6d322c1b88455c4 to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/pcre ! [new tag] changed/i10ce/pcre-8.45-1.el10.7 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i10ce/pcre-8.45-1.el10.7 HEAD is now at 80e3449 import pcre-8.45-1.el10.7