Skip to content

Instantly share code, notes, and snippets.

@ChrisTollefson
Last active June 21, 2023 15:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisTollefson/aa2dd8ba358a128d1ae659b166aaed73 to your computer and use it in GitHub Desktop.
Save ChrisTollefson/aa2dd8ba358a128d1ae659b166aaed73 to your computer and use it in GitHub Desktop.
.gitignore
# Documentation:
# https://git-scm.com/docs/gitignore
# Common patterns:
# Hash = everything that follows is a comment.
# Leading slash = matches the directory containing the .gitignore file.
# No leading slash = matches anywhere in the repository, from the directory containing the .gitignore file and deeper.
# Trailing slash = matches a directory itself, but not a file.
# No trailing slash = matches a directory or a file.
# * = matches 0 or more characters (except /).
# ? = matches 1 character (except /).
# ** = matches everything.
# /** = matches all files and directories within.
# **/ = matches all directories.
# /**/ = matches 0 or more directories.
# [] = defines a class of characters, of which any single one will match.
# ! = negates a PREVIOUS match only (i.e. subsequent matches negate the negation).
# \ = escapes a pattern character.
# Subversion files.
**/.svn/
# Windows thumbnail cache files.
**/Thumbs.db
# Windows folder config files.
**/[Dd]esktop.ini
# Windows volume root files.
/$RECYCLE.BIN/
/System Volume Information/
# macOS resource forks from compressed files.
**/__MACOSX/
# macOS folder config files.
**/.DS_Store
# macOS volume root files.
/.fseventsd
/.Spotlight-V100
/.Trashes
/.VolumeIcon.icns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment