$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-drv-qxl.git /var/lib/mock/dist-an8.8-build-288869-64908/root/chroot_tmpdir/scmroot/xorg-x11-drv-qxl Cloning into '/var/lib/mock/dist-an8.8-build-288869-64908/root/chroot_tmpdir/scmroot/xorg-x11-drv-qxl'... $ git fetch origin 9afd9ba613c627ebcf36a828d8381b09c3b94f19:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xorg-x11-drv-qxl * [new ref] 9afd9ba613c627ebcf36a828d8381b09c3b94f19 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9afd9ba spec:add BuildRequires: libXext-devel