$ git clone -n https://gitee.com/src-anolis-os/rdma-core.git /var/lib/mock/dist-an23.3-build-426228-72990/root/chroot_tmpdir/scmroot/rdma-core Cloning into '/var/lib/mock/dist-an23.3-build-426228-72990/root/chroot_tmpdir/scmroot/rdma-core'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/rdma-core * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at db86b16 update to rdma-core-54.0-1