Skip to content

Instantly share code, notes, and snippets.

@Beanocean
Forked from octocat/.gitignore
Last active August 29, 2015 14:04
Show Gist options
  • Save Beanocean/1cd5ccfc3e7e2a7989ca to your computer and use it in GitHub Desktop.
Save Beanocean/1cd5ccfc3e7e2a7989ca to your computer and use it in GitHub Desktop.
It's the configuration file of git, which is used to point out the files that no need to keep in git.
# 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

Function

It's the configuration file of git(a version control system), which is used to point out the files that no need to keep in git.

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