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