$ git clone -n https://gitee.com/src-opencloudos-rpms/rdma-core.git /var/lib/mock/dist-oc8-build-38566-12544/root/chroot_tmpdir/scmroot/rdma-core Cloning into '/var/lib/mock/dist-oc8-build-38566-12544/root/chroot_tmpdir/scmroot/rdma-core'... $ git reset --hard origin/oc8 HEAD is now at bee7fda import rdma-core-44.0-2.tl3.1