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