Skip to content

Instantly share code, notes, and snippets.

@CEscorcio
Last active February 20, 2021 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CEscorcio/03de49acc959abd94759361541e1b775 to your computer and use it in GitHub Desktop.
Save CEscorcio/03de49acc959abd94759361541e1b775 to your computer and use it in GitHub Desktop.
gitignore Wordpress
### WordPress ###
# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
# ignore everything in the "wp-content" directory, except:
# "mu-plugins", "plugins", "themes" directory
wp-content/*
!wp-content/plugins/
!wp-content/themes/
# ignore node dependency directories
node_modules/
# ignore log files and databases
*.log
*.sql
*.sqlite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment