$ git clone -n https://gitee.com/src-opencloudos-rpms/dnsmasq.git /var/lib/mock/dist-oc8-build-36911-12041/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-oc8-build-36911-12041/root/chroot_tmpdir/scmroot/dnsmasq'... $ git reset --hard origin/oc8 HEAD is now at d07f7b6 import dnsmasq-2.79-24.oc8.1