$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/fontpackages.git /var/lib/mock/dist-an7-build-27675-15191/root/chroot_tmpdir/scmroot/fontpackages Cloning into '/var/lib/mock/dist-an7-build-27675-15191/root/chroot_tmpdir/scmroot/fontpackages'... $ git reset --hard origin/a7 HEAD is now at 2f8c1df import fontpackages-1.44-8.el7.src.rpm