Skip to content

Instantly share code, notes, and snippets.

@devinsays
Created October 19, 2022 02:57
Show Gist options
  • Save devinsays/0b327ad5493d01ebd4c7ea54c4217cab to your computer and use it in GitHub Desktop.
Save devinsays/0b327ad5493d01ebd4c7ea54c4217cab to your computer and use it in GitHub Desktop.
GitIgnore Example for WooCommerce
# Filetypes
*.sql
debug.log
.DS_Store
# Directories
node_modules/
/tmp/
/vendor/
# Root files
/*.php
/*.ico
/*.txt
/*.png
/*.html
/.revision
/.htaccess
# Core files
/wp-content/*.php
/wp-content/.revision
/wp-includes/
/wp-admin/
/wp-content/upgrade/
/wp-content/uploads/
/wp-content/cache
# Themes
/wp-content/themes/twenty*
/wp-content/themes/index.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment