$ git clone -n https://gitee.com/fundawang/iptables.git /var/lib/mock/dist-an23-build-197897-60943/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an23-build-197897-60943/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard 0c31784f847ba398d9e67361ee8a734e06cde122 HEAD is now at 0c31784 test build 1