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