Add a gitignore for working with DDEV

Created on 21 February 2025, about 1 month ago

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.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom steven jones

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024