$ git clone -n https://gitee.com/src-opencloudos-rpms/dnsmasq.git /var/lib/mock/dist-oc8-build-32023-9382/root/chroot_tmpdir/scmroot/dnsmasq Cloning into '/var/lib/mock/dist-oc8-build-32023-9382/root/chroot_tmpdir/scmroot/dnsmasq'... $ git reset --hard 3841a8a3b83d2a1ab2b284032be533cad2da7c5d HEAD is now at 3841a8a import dnsmasq-2.79-24.oc8