Skip to content

Instantly share code, notes, and snippets.

@sashkavalent
Forked from octocat/.gitignore
Last active June 14, 2016 22:19
Show Gist options
  • Save sashkavalent/05d2a491af58d683f6d9a64d03dada74 to your computer and use it in GitHub Desktop.
Save sashkavalent/05d2a491af58d683f6d9a64d03dada74 to your computer and use it in GitHub Desktop.
Some common .gitignore configurations
# copy it to ~/.gitignore_global (just run `wget https://gist.github.com/sashkavalent/05d2a491af58d683f6d9a64d03dada74/raw/0bc53577a58c506c884070953750f45689266132/.gitignore_global` in home directory)
# then run
# git config --global core.excludesfile ~/.gitignore_global
#
# 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
# Editors #
###########
.tags
.tags1
.tags2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment