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