$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/xorg-x11-drivers.git /var/lib/mock/dist-an7-build-30721-15548/root/chroot_tmpdir/scmroot/xorg-x11-drivers Cloning into '/var/lib/mock/dist-an7-build-30721-15548/root/chroot_tmpdir/scmroot/xorg-x11-drivers'... $ git reset --hard origin/a7 HEAD is now at 1c1b6c6 import xorg-x11-drivers-7.7-6.el7.src.rpm