$ git clone -n https://gitee.com/opencloudos-stream/python-apipkg.git /var/lib/mock/dist-ocs23-python311-build-48563-2147/root/chroot_tmpdir/scmroot/python-apipkg
Cloning into '/var/lib/mock/dist-ocs23-python311-build-48563-2147/root/chroot_tmpdir/scmroot/python-apipkg'...
$ git fetch origin HEAD:KOJI_FETCH_HEAD
From https://gitee.com/opencloudos-stream/python-apipkg
 * [new ref]         HEAD       -> KOJI_FETCH_HEAD
$ git reset --hard KOJI_FETCH_HEAD
HEAD is now at 18b2e1e update