Ignore Patterns
Ignore patterns let you exclude specific files or directories from being synced between your local and remote sites.
Editing Ignore Patterns
Section titled “Editing Ignore Patterns”- Open a remote site from the sidebar
- Go to the “Sync” tab
- Click “Edit Ignores”
- Add patterns, one per line
- Save
Pattern Format
Section titled “Pattern Format”Patterns follow a .gitignore-like syntax:
# Directoriesnode_modules/.git/vendor/
# Files.DS_Store.env*.log
# Specific pathswp-content/cache/wp-content/uploads/backup/Recommended Ignore Patterns
Section titled “Recommended Ignore Patterns”These are commonly excluded from sync:
node_modules/.git/.DS_Store.env*.logwp-content/cache/wp-content/upgrade/wp-content/debug.logHow Patterns Work
Section titled “How Patterns Work”- 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