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