$ git clone -n https://gitee.com/zhonglingh/iptables.git /var/lib/mock/dist-an23-build-251424-63418/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an23-build-251424-63418/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard 0e30297f1e8c8462c2c26e6e5f3ffdb3a952fb6c HEAD is now at 0e30297 refactor rpm spec