$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/exempi.git /var/lib/mock/dist-an7-build-31099-15684/root/chroot_tmpdir/scmroot/exempi Cloning into '/var/lib/mock/dist-an7-build-31099-15684/root/chroot_tmpdir/scmroot/exempi'... $ git reset --hard origin/a7 HEAD is now at 0f9bd54 import exempi-2.2.0-9.el7.src.rpm