$ git clone -n http://git.inferitos.ru/rpms/ortp /var/lib/mock/inferit-9_4-aarch64-extras-build-64108-135288/root/chroot_tmpdir/scmroot/ortp Cloning into '/var/lib/mock/inferit-9_4-aarch64-extras-build-64108-135288/root/chroot_tmpdir/scmroot/ortp'... $ git fetch origin changed/i9m/ortp-5.3.84-1.el9.inferit.1:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 7e316205c5ee501ed67fcd5ff08d8ee986075ebd to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/ortp ! [new tag] changed/i9m/ortp-5.3.84-1.el9.inferit.1 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9m/ortp-5.3.84-1.el9.inferit.1 HEAD is now at d9600ea Update to 5.3.84-1.inferit.1