$ git clone -n https://gitee.com/src-opencloudos-rpms/lldpad /var/lib/mock/dist-oc8-build-32153-9675/root/chroot_tmpdir/scmroot/lldpad Cloning into '/var/lib/mock/dist-oc8-build-32153-9675/root/chroot_tmpdir/scmroot/lldpad'... $ git reset --hard origin/oc8 HEAD is now at b070915 import lldpad-1.0.1-19.git036e314.tl3