$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-server.git /var/lib/mock/dist-an23.3-build-433342-73067/root/chroot_tmpdir/scmroot/xorg-x11-server Cloning into '/var/lib/mock/dist-an23.3-build-433342-73067/root/chroot_tmpdir/scmroot/xorg-x11-server'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/xorg-x11-server * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 50d35f0 update to version 21.1.13