$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/smc-fonts.git /var/lib/mock/dist-an7-build-33146-16169/root/chroot_tmpdir/scmroot/smc-fonts Cloning into '/var/lib/mock/dist-an7-build-33146-16169/root/chroot_tmpdir/scmroot/smc-fonts'... $ git reset --hard origin/a7 HEAD is now at 683b912 import smc-fonts-6.0-7.el7.src.rpm