$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xorg-x11-drv-vesa.git /var/lib/mock/dist-an7-build-33442-16169/root/chroot_tmpdir/scmroot/xorg-x11-drv-vesa Cloning into '/var/lib/mock/dist-an7-build-33442-16169/root/chroot_tmpdir/scmroot/xorg-x11-drv-vesa'... $ git reset --hard origin/a7 HEAD is now at 63bc9eb import xorg-x11-drv-vesa-2.4.0-3.el7.src.rpm