$ git clone -n https://gitee.com/opencloudos-stream/kafka.git /var/lib/mock/dist-ocs23-build-239604-21622/root/chroot_tmpdir/scmroot/kafka Cloning into '/var/lib/mock/dist-ocs23-build-239604-21622/root/chroot_tmpdir/scmroot/kafka'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/kafka * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 420fabb Rebuilt for loongarch release