$ git clone -n https://gitee.com/src-anolis-os/thrift.git /var/lib/mock/dist-an23.4-build-536034-82171/root/chroot_tmpdir/scmroot/thrift Cloning into '/var/lib/mock/dist-an23.4-build-536034-82171/root/chroot_tmpdir/scmroot/thrift'... $ git fetch origin a23.4:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/thrift * [new branch] a23.4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 42295ae [Bugfix] enable loongarch64