$ git clone -n https://gitee.com/fundawang/iptables.git /var/lib/mock/dist-an23-build-197885-60943/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an23-build-197885-60943/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard ed74b99df26c51b9435919239f92b1daacfe055d HEAD is now at ed74b99 remove restore section