Skip to content

Instantly share code, notes, and snippets.

@javorszky
Forked from halfdan/gist:7098180
Last active December 26, 2015 05:08
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 javorszky/7098185 to your computer and use it in GitHub Desktop.
Save javorszky/7098185 to your computer and use it in GitHub Desktop.
.designs/
wp-content/*
!wp-content/themes
wp-content/themes/**/node_modules
wp-content/themes/**/.sass-cache
@javorszky
Copy link
Author

the directory structure is

wp-content/themes/ea2/node_modules

basically, I want to exlude EVERYTHING from wp-content, except the themes folder, and whatever is inside them...
except the node_modules and .sass-cache folders, because I don't need them...

@javorszky
Copy link
Author

(oh, and this isn't helpful either... http://git-scm.com/docs/gitignore, or I'm missing something obvious)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment