$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/ucs-miscfixed-fonts.git /var/lib/mock/dist-an7-build-33296-16169/root/chroot_tmpdir/scmroot/ucs-miscfixed-fonts Cloning into '/var/lib/mock/dist-an7-build-33296-16169/root/chroot_tmpdir/scmroot/ucs-miscfixed-fonts'... $ git reset --hard origin/a7 HEAD is now at 41ca45b import ucs-miscfixed-fonts-0.3-11.el7.src.rpm