$ git clone -n https://gitee.com/happy_orange/xorg-x11-server.git /var/lib/mock/dist-an23-build-95854-45500/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-an23-build-95854-45500/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git reset --hard origin/a23 HEAD is now at 8204b96 fix the error in xorg server