Skip to content

Instantly share code, notes, and snippets.

@crucialfelix
Created August 1, 2014 10:14
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 crucialfelix/f57f5c244f1b96564496 to your computer and use it in GitHub Desktop.
Save crucialfelix/f57f5c244f1b96564496 to your computer and use it in GitHub Desktop.
ignore tags files but do not ignore tags/ directories
# deep ignore both files and folders called 'tags'
tags
# un-ignore folders called 'tags'
!tags/
@crucialfelix
Copy link
Author

eg. templates/tags/hello.html is not ignored

but these are ignored:

./tags

and

./classes/tags

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