gitignore-parser
Version:
A simple .gitignore parser.
25 lines (15 loc) • 323 B
Plain Text
# This is a comment in a .gitignore file!
/node_modules
*.log
# Ignore this nonexistent file
/nonexistent
# Do not ignore this file
!/nonexistent/foo
# Ignore some files
/baz
/foo/*.wat
# Ignore some deep sub folders
/othernonexistent/**/what
# Unignore some other sub folders
!/othernonexistent/**/what/foo
*.swp