The WordPress Bedrock .gitignore doesn’t include the web/app/themes directory.
What is the reason for this? I made the particular (sage based) theme directory a separate git repository with separate development (a (good) theme can be used on other WordPress installations, too).
Also, multiple themes could be developed for a single WordPress Bedrock installation or legacy themes kept, etc.
I noticed the folder site/web/app/languages is not ignored by git either.
Most of the languages files were installed with their respective plugins.
Also mu-plugins and similar auxiliary files which are installed by composer instead are not ignored.
Theme build folder (dist) is ignored on the other hand, these are synced without git during deploy (capistrano style) - why not the same with /web/app/languages and /web/app/mu-plugins?
It’s intentional. We use wpackagist to manage plugins, but it can only install plugins in subdirectories. This was a problem for mu-plugins as they aren’t loaded from subdirectories by WordPress core. We created the Bedrock autoloader plugin to bridge this gap.
The languages folder isn’t part of a core install when using US English, but I would agree with you that its contents should be gitignored.
I just noticed that the site also has a plugin that contains very site-specific functionality, I think I should also add it to the bedrock repository instead treating it as a separate plugin because there would be no real use of it outside this site.