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