$ git clone -n https://gitee.com/xiaolunfhb/xorg-x11-drv-vmware.git /var/lib/mock/dist-an8-poc-build-98987-45592/root/chroot_tmpdir/scmroot/xorg-x11-drv-vmware Cloning into '/var/lib/mock/dist-an8-poc-build-98987-45592/root/chroot_tmpdir/scmroot/xorg-x11-drv-vmware'... $ git reset --hard origin/a8 HEAD is now at b29c4d8 import xorg-x11-drv-vmware-13.2.1-8.el8.src.rpm