- Issue created by @lars.stiebenz
https://www.drupal.org/docs/user_guide/en/extend-git.html →
The guide seems to be about configuration revisions. However, the "Steps" sections says to exclude the config folder from Git (see step 4 regarding .gitignore). This would exclude the configuration from revisioning via Git.
Adjust the suggested entries for .gitignore and explain what should be excluded.
Make sure to check the .gitignore file. The following types of files should be excluded:
- components installed via composer like Drupal core and contrib
- files with sensitive information, i.e. passwords
- directories with user generated files, especially the one for private files
If your web root is not your top directory, check each of these to see if they need a prefix. For example, sites may need to be replaced with web/sites.
Example:
# files added by composer core modules/contrib profiles/contrib themes/contrib # sensitive data sites/*/settings*.php # user generated files sites/*/files private
Active
Correction/Clarification