$ git clone -n http://git.inferitos.ru/rpms/rust-roxmltree0.18 /var/lib/mock/inferit-9_4-extras-build-43153-82901/root/chroot_tmpdir/scmroot/rust-roxmltree0.18 Cloning into '/var/lib/mock/inferit-9_4-extras-build-43153-82901/root/chroot_tmpdir/scmroot/rust-roxmltree0.18'... $ git fetch origin changed/i9ce/rust-roxmltree0.18-0.18.1-1.el9:KOJI_FETCH_HEAD error: cannot update ref 'refs/heads/KOJI_FETCH_HEAD': trying to write non-commit object 3b3c54d21e2e5c31d926d574d3d5e8e295d7564c to branch 'refs/heads/KOJI_FETCH_HEAD' From http://git.inferitos.ru/rpms/rust-roxmltree0.18 ! [new tag] changed/i9ce/rust-roxmltree0.18-0.18.1-1.el9 -> KOJI_FETCH_HEAD (unable to update local ref) $ git reset --hard changed/i9ce/rust-roxmltree0.18-0.18.1-1.el9 HEAD is now at b3a6049 import rust-roxmltree0.18-0.18.1-1.el9