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