$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mythes-mi.git /var/lib/mock/dist-an7-build-40093-20007/root/chroot_tmpdir/scmroot/mythes-mi Cloning into '/var/lib/mock/dist-an7-build-40093-20007/root/chroot_tmpdir/scmroot/mythes-mi'... $ git reset --hard origin/a7 HEAD is now at 931e115 import mythes-mi-0.20080630-9.el7.src.rpm