Skip to content

Update gitignore file to allow checkout as a wp-content directory. #2214

@peterwilsoncc

Description

@peterwilsoncc

Bug Description

For developing on environments other than wp-env, the performance repo needs to be checked out as the wp-content directory.

It would be great to update the repo's gitignore file to allow for this by:

  • ignoring all files and folders in the plugins directory
  • ignoring all files and folders in the themes directory
  • allow listing the plugins that live in this mono-repo

This will prevent a dirty git environment when installing other plugins.

Steps to reproduce

  1. Checkout this repo to run as wp-content
  2. Install WP
  3. Install Query Monitor
  4. Observe a dirty repo

Screenshots

Additional Context

I use Chassis for my development environment for WordPress, Gutenberg and other WP plugins. This allows me to run the code on a different system config that most people are using for developing WP projects... it's very effective at picking up bugs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] BugAn existing feature is broken

    Type

    No type

    Projects

    Status

    Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions