$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/iptables.git /var/lib/mock/dist-an7-build-38113-18130/root/chroot_tmpdir/scmroot/iptables Cloning into '/var/lib/mock/dist-an7-build-38113-18130/root/chroot_tmpdir/scmroot/iptables'... $ git reset --hard origin/a7 HEAD is now at f82f263 import iptables-1.4.21-33.el7.src.rpm