Problem/Motivation
I want to use the DDEV Drupal Contrib add-on, which then adds a bunch of stuff to the codebase that I need to remember to gitignore.
Ideally it would 'just' remember using a shipped gitignore file.
Steps to reproduce
Set up the add on on a VDE codebase.
Proposed resolution
Add a gitignore file with the following contents:
# Ignore files that DDEV Drupal Contrib adds.
.editorconfig
.gitattributes
.ddev/
/vendor/
/web/
# Ignore PHPStorm Project files
.idea
Remaining tasks
Add the file.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork views_data_export-3508243
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
steven jones commentedAdded the gitignore.
Comment #6
ressaThanks for maintaining this great module!
I raised this issue in the DDEV Drupal Contrib issue queue, because I think the add-on should take care of this instead of the individual modules, see Add
.gitignorefile, excludingvendor,web,.ddev,.editorconfig, etc. by default #25.