$ git clone -n https://gitee.com/src-opencloudos-rpms/dhcp.git /var/lib/mock/dist-oc8-build-38419-12442/root/chroot_tmpdir/scmroot/dhcp Cloning into '/var/lib/mock/dist-oc8-build-38419-12442/root/chroot_tmpdir/scmroot/dhcp'... $ git reset --hard origin/oc8 HEAD is now at 9e0c0fd import dhcp-4.3.6-49.tl3