Skip to content

Instantly share code, notes, and snippets.

@zsim0n
Forked from redoPop/.gitignore
Last active August 29, 2015 13:57
Show Gist options
  • Save zsim0n/9571779 to your computer and use it in GitHub Desktop.
Save zsim0n/9571779 to your computer and use it in GitHub Desktop.
.gitignore for wordpress
/*
!.gitignore
!favicon.ico
!favicon.png
!robots.txt
!humans.txt
!wp-content/
wp-content/*
!wp-content/plugins/
!wp-content/themes/
wp-content/plugins/*
# !wp-content/plugins/my-single-file-plugin.php
# !wp-content/plugins/my-directory-plugin/
wp-content/themes/*
# !wp-content/themes/my-theme/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment