$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mod_security.git /var/lib/mock/dist-an7-build-32368-15985/root/chroot_tmpdir/scmroot/mod_security Cloning into '/var/lib/mock/dist-an7-build-32368-15985/root/chroot_tmpdir/scmroot/mod_security'... $ git reset --hard origin/a7 HEAD is now at de2293a import mod_security-2.9.2-1.el7.src.rpm