$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/relaxngDatatype.git /var/lib/mock/dist-an7-build-33030-16164/root/chroot_tmpdir/scmroot/relaxngDatatype Cloning into '/var/lib/mock/dist-an7-build-33030-16164/root/chroot_tmpdir/scmroot/relaxngDatatype'... $ git reset --hard origin/a7 HEAD is now at b73bb96 import relaxngDatatype-1.0-11.el7.src.rpm