$ git clone -n https://gitee.com/fundawang/iptables.git /var/lib/mock/dist-an23-build-197894-60943/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an23-build-197894-60943/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard 888edafde15b9788c158cce0d4950b09cde71ed7 HEAD is now at 888edaf add slave