$ git clone -n https://gitee.com/src-anolis-os/xorg-x11-proto-devel.git /var/lib/mock/dist-an23-build-182756-60139/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel Cloning into '/var/lib/mock/dist-an23-build-182756-60139/root/chroot_tmpdir/scmroot/xorg-x11-proto-devel'... $ git reset --hard origin/a23 HEAD is now at b026916 2022.2