$ git clone -n https://gitee.com/src-opencloudos-rpms/xdp-tools /var/lib/mock/dist-oc8-build-21504-5548/root/chroot_tmpdir/scmroot/xdp-tools Cloning into '/var/lib/mock/dist-oc8-build-21504-5548/root/chroot_tmpdir/scmroot/xdp-tools'... $ git reset --hard origin/oc8 HEAD is now at e142a37 import xdp-tools-1.2.1-1.oc8