Skip to content

Instantly share code, notes, and snippets.

@ViktorAndonov
Created February 13, 2020 14:17
Show Gist options
  • Save ViktorAndonov/601a10dcc72b71bd498b77be7ab7a284 to your computer and use it in GitHub Desktop.
Save ViktorAndonov/601a10dcc72b71bd498b77be7ab7a284 to your computer and use it in GitHub Desktop.
.gitignore Vagrant VVV file for WordPress 5.3+ 2020
# This file will only track custom themes
/*
!public_html/
public_html/*
!public_html/wp-content/
public_html/wp-content/*
public_html/wp-content/plugins/*
!public_html/wp-content/mu-plugins/
!public_html/wp-content/themes/
public_html/wp-content/*/index.php
# ignore specific themes
public_html/wp-content/themes/twenty*/
# track .gitignore file
!.gitignore
# track .editorconfig file
!.editorconfig
# 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