Skip to content

Instantly share code, notes, and snippets.

@1337hero
Created November 1, 2023 15:08
Show Gist options
  • Save 1337hero/ab9b2a7e52654508312c2c4b82c2cb1d to your computer and use it in GitHub Desktop.
Save 1337hero/ab9b2a7e52654508312c2c4b82c2cb1d to your computer and use it in GitHub Desktop.
WordPress Generic Install - gitignore Template
/*
!.gitignore
# WordPress
!wp-content
wp-content/*
!wp-content/themes
wp-content/themes/*
!/wp-content/themes/YOUR-THEME-HERE/
# Custom
# Logs
*.log
# Dotenv
.env
.env.*
!.env.example
## OS X
.DS_Store
._*
.Spotlight-V100
.Trashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment