$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libXfont2.git /var/lib/mock/dist-an7-build-32123-15905/root/chroot_tmpdir/scmroot/libXfont2 Cloning into '/var/lib/mock/dist-an7-build-32123-15905/root/chroot_tmpdir/scmroot/libXfont2'... $ git reset --hard origin/a7 HEAD is now at 4606d3d import libXfont2-2.0.3-1.el7.src.rpm