$ git clone -n https://gitee.com/src-anolis-os/iptables.git /var/lib/mock/dist-an23-build-190743-60788/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an23-build-190743-60788/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard f2b75994000b454125ac412c57521ea16f98354b HEAD is now at f2b7599 optimise spec file