$ git clone -n http://git.inferitos.ru/rpms/clang16 /var/lib/mock/inferit-9_4-extras-build-43380-83401/root/chroot_tmpdir/scmroot/clang16 Cloning into '/var/lib/mock/inferit-9_4-extras-build-43380-83401/root/chroot_tmpdir/scmroot/clang16'... $ git fetch origin changed/i9ce/clang16-16.0.6-6.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object cd0818e6ce5444fcf3d1d2798ef879e056887d9d to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/clang16 ! [new tag] changed/i9ce/clang16-16.0.6-6.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/clang16-16.0.6-6.el9 HEAD is now at 9245b1a import clang16-16.0.6-6.el9