$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/nftables.git /var/lib/mock/dist-an7-build-32440-16008/root/chroot_tmpdir/scmroot/nftables Cloning into '/var/lib/mock/dist-an7-build-32440-16008/root/chroot_tmpdir/scmroot/nftables'... $ git reset --hard origin/a7 HEAD is now at d4480cf import nftables-0.8-14.el7.src.rpm