$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/bpg-fonts.git /var/lib/mock/dist-an7-build-27281-15151/root/chroot_tmpdir/scmroot/bpg-fonts Cloning into '/var/lib/mock/dist-an7-build-27281-15151/root/chroot_tmpdir/scmroot/bpg-fonts'... $ git reset --hard origin/a7 HEAD is now at 0295eba import bpg-fonts-20120413-3.el7.src.rpm