$ git clone -n https://gitee.com/carlo_bai/xorg-x11-server.git /var/lib/mock/dist-an23-build-255289-63641/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-an23-build-255289-63641/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git reset --hard fffa4c97c0acc43f75e5a7d0a583b2db151b8ad7 HEAD is now at fffa4c9 delete unnecessary patch