$ git clone -n https://gitee.com/zhangwenlong01/xorg-x11-server.git /var/lib/mock/dist-an23-build-323989-68518/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-an23-build-323989-68518/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git fetch origin b313b48066ecb35ac4125cf7758f1b9d6a92529f:KOJI_FETCH_HEAD From https://gitee.com/zhangwenlong01/xorg-x11-server * [new ref] b313b48066ecb35ac4125cf7758f1b9d6a92529f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b313b48 fix build error for tigervnc