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.

Command icon 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

steven jones created an issue. See original summary.

steven jones’s picture

Status: Active » Fixed

Added the gitignore.

  • steven jones committed f3d4a5ff on 8.x-1.x
    Issue #3508243 by steven jones: Add a gitignore for working with DDEV
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

ressa’s picture

Thanks 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 .gitignore file, excluding vendor, web, .ddev, .editorconfig, etc. by default #25.