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