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