# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
 
# ignore all files starting with ., except .gitignore
.*
 
# track this file .gitignore (i.e. do NOT ignore it)
!.gitignore
 
# track readme.md in the root (i.e. do NOT ignore it)
!readme.md
 
# ignore all files that start with ~
~*
 
# ignore OS generated files
ehthumbs.db
Thumbs.db
 
# ignore Editor files
*.sublime-project
*.sublime-workspace
*.komodoproject
 
# ignore log files and databases
*.log
*.sql
*.sqlite
 
# ignore compiled files
*.com
*.class
*.dll
*.exe
*.o
*.so
 
# ignore packaged files
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
 
# ignore everything in the "wp-content" directory, except:
wp-content/*
!wp-content/plugins/
!wp-content/themes/
!wp-content/library/
 
# ADVANCED OPTION (disabled by default)
# ignore everything in the "plugins" directory,
# except the plugins you specify
wp-content/plugins/*
!wp-content/plugins/AW_Customs
 
# ADVANCED OPTION (disabled by default)
# ignore everything in the "themes" directory,
# except the themes you specify
wp-content/themes/*
!wp-content/themes/dartology/
 
# ignore specific themes
wp-content/themes/twentyfourteen/
 
# ignore node/grunt dependency directories
node_modules/