Skip to content

Instantly share code, notes, and snippets.

@anthonyalvarez
Forked from octocat/.gitignore
Last active August 25, 2018 21:36
Show Gist options
  • Save anthonyalvarez/75542b9668a247a435c6e54b7c6b58a3 to your computer and use it in GitHub Desktop.
Save anthonyalvarez/75542b9668a247a435c6e54b7c6b58a3 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# Local files
###################
# package-lock.json
# ignore all files in the build/ directory
# Dependency directories
###################
node_modules/
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Optional eslint cache
.eslintcache
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Global Ignore
######################
# $git config --global core.excludesfile ~/.gitignore_global
# https://help.github.com/articles/ignoring-files/
# Examples
######################
# https://git-scm.com/docs/gitignore
# https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository
# https://github.com/github/gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment