$ git clone -n https://gitee.com/src-anolis-os/thrift.git /var/lib/mock/dist-an23-build-python3.11-loongarch64-371917-71495/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-an23-build-python3.11-loongarch64-371917-71495/root/chroot_tmpdir/scmroot/thrift'... $ git reset --hard origin/a23 HEAD is now at cabb7fc Rebuild with python3.11