Storing Media in Git
Git-based media storage is the default media storage option in Forestry. With this option, media is committed to your git repo, just like the rest of your content.
Media Files Present in Git History
One advantage of using this storage option is that media files are stored in your repo. If something is accidentally deleted, it can easily be recovered from the project’s commit history.
If you upload a lot of media to your site, storing it all in your repo can cause a degradation in performance. To help with this, consider using Git LFS to track media files. Forestry fully supports Git LFS when storing media in your GitHub repositories.
Known limitationsImages stored in GitLab and Bitbucket private repositories will not be shown in Forestry due to current limitations: https://gitlab.com/gitlab-org/gitlab-ce/issues/45149
Caught a mistake or want to contribute to the docs? Edit this page on Github!