$ git clone -n https://gitee.com/src-anolis-os/rdma-core.git /mnt/mock/kojid//dist-an23.3-riscv-build-439272-73130/root/chroot_tmpdir/scmroot/rdma-core Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439272-73130/root/chroot_tmpdir/scmroot/rdma-core'... $ git fetch origin 05446f2ad6aa1af55ce13d6dc125f0780e2b2ef7:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rdma-core * [new ref] 05446f2ad6aa1af55ce13d6dc125f0780e2b2ef7 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 05446f2 adapt for riscv64