$ git clone -n https://gitee.com/src-opencloudos-rpms/dnsmasq.git /var/lib/mock/dist-oc8-build-38641-12591/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-oc8-build-38641-12591/root/chroot_tmpdir/scmroot/dnsmasq'... $ git reset --hard origin/oc8 HEAD is now at 6e400b3 import dnsmasq-2.79-26.tl3