In general you only have to commit the folders where you have self created files.
If a folder is empty no need to commit.
Special handling:
-
archetypes
Only needed when you usehugo new content -
resources:
Usually generated at build. If you don’t want to optimize with caching fe. when doenloading external ressources or expensive operations. You dont need it
.
├── archetypes
├── assets
├── config
├── content
├── data
├── i18n
├── layouts
├── resources
├── static
└── themes