Skip to content

Instantly share code, notes, and snippets.

@perandre
Created February 23, 2018 09:46
Show Gist options
  • Save perandre/729dd6c43d532dc610b20a5836eb70ac to your computer and use it in GitHub Desktop.
Save perandre/729dd6c43d532dc610b20a5836eb70ac to your computer and use it in GitHub Desktop.
# START WP-CLI BUILD BLOCK
# ------------------------------------------------------------
# This block is generated everytime you run 'wp build generate'
# Rules: Exclude everything from git except for your custom plugins/themes
# ------------------------------------------------------------
/*
!.gitignore
!build.yml
!wp-content
wp-content/*
!wp-content/plugins
wp-content/plugins/*
!wp-content/themes
wp-content/themes/*
# ------------------------------------------------------------
# END WP-CLI BUILD BLOCK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment