$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/man-pages-es.git /var/lib/mock/dist-an7-build-32292-15963/root/chroot_tmpdir/scmroot/man-pages-es Cloning into '/var/lib/mock/dist-an7-build-32292-15963/root/chroot_tmpdir/scmroot/man-pages-es'... $ git reset --hard origin/a7 HEAD is now at 24c5280 import man-pages-es-1.55-21.el7.src.rpm