Skip to content

Ignore Patterns

Ignore patterns let you exclude specific files or directories from being synced between your local and remote sites.

  1. Open a remote site from the sidebar
  2. Go to the “Sync” tab
  3. Click “Edit Ignores”
  4. Add patterns, one per line
  5. Save

Patterns follow a .gitignore-like syntax:

# Directories
node_modules/
.git/
vendor/
# Files
.DS_Store
.env
*.log
# Specific paths
wp-content/cache/
wp-content/uploads/backup/

These are commonly excluded from sync:

node_modules/
.git/
.DS_Store
.env
*.log
wp-content/cache/
wp-content/upgrade/
wp-content/debug.log
  • Patterns are applied to both pull and push operations
  • A trailing / matches only directories
  • * matches any sequence of characters within a path segment
  • Patterns are case-sensitive
  • Lines starting with # are comments