$ git clone -n https://gitee.com/liujie-answer/rdma-core_sxe2_a23.git /var/lib/mock/dist-an23-build-594414-101908/root/chroot_tmpdir/scmroot/rdma-core_sxe2_a23 Cloning into '/var/lib/mock/dist-an23-build-594414-101908/root/chroot_tmpdir/scmroot/rdma-core_sxe2_a23'... $ git fetch origin f1068ea05674cb5578ed4f7af0b68842e62d1b00:KOJI_FETCH_HEAD From https://gitee.com/liujie-answer/rdma-core_sxe2_a23 * [new ref] f1068ea05674cb5578ed4f7af0b68842e62d1b00 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f1068ea Linkdata user-space rdma-core driver update