$ git clone -n https://gitee.com/opencloudos-stream/hamcrest.git /var/lib/mock/dist-ocs23-build-122563-8678/root/chroot_tmpdir/scmroot/hamcrest Cloning into '/var/lib/mock/dist-ocs23-build-122563-8678/root/chroot_tmpdir/scmroot/hamcrest'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/hamcrest * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6598c44 Rebuilt for OpenCloudOS Stream 23.09