$ git clone -n https://gitee.com/opencloudos-stream/gnocchi.git /var/lib/mock/dist-ocs23-python311-build-86057-4752/root/chroot_tmpdir/scmroot/gnocchi
Cloning into '/var/lib/mock/dist-ocs23-python311-build-86057-4752/root/chroot_tmpdir/scmroot/gnocchi'...
$ git fetch origin HEAD:KOJI_FETCH_HEAD
From https://gitee.com/opencloudos-stream/gnocchi
 * [new ref]                    -> KOJI_FETCH_HEAD
$ git reset --hard KOJI_FETCH_HEAD
HEAD is now at fb19933 Rebuilt for python 3.11