This was useful when updating Matomo through git.
In this case I did basically
git checkout matomo.js git checkout piwik.js rm -rf plugins/CustomDimensions git checkout 4.x-dev php composer.phar install git submodule update --recursive git submodule init && git submodule update ./console core:update ./console marketplace:update-plugins
Otherwise the marketplace plugins would not have been updated and would have been potentially disabled. Should only be interesting if someone updates Matomo in a production system through git (which we don't really recommend since it is less secure etc)
Sounds good. Would we want to mention this command in https://matomo.org/faq/how-to-install/faq_18271/ since it's the only time this would be useful maybe?
Actually I close that one again. It actually didn't really help as the marketplace plugins were still deactivated afterwards and could have been activated through the UI. We can always add it when needed.