$ git clone -n https://gitee.com/src-anolis-os/thrift.git /mnt/mock/kojid//dist-an23.3-riscv-build-439519-73130/root/chroot_tmpdir/scmroot/thrift Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439519-73130/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin cabb7fc5f060c0a9a699db9c7b481aeacfdc9929:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/thrift * [new ref] cabb7fc5f060c0a9a699db9c7b481aeacfdc9929 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cabb7fc Rebuild with python3.11