Skip to content

Instantly share code, notes, and snippets.

@zpetr
Forked from octocat/.gitignore
Last active May 9, 2023 00:31
Show Gist options
  • Save zpetr/e783d537f8a40bb6ec16 to your computer and use it in GitHub Desktop.
Save zpetr/e783d537f8a40bb6ec16 to your computer and use it in GitHub Desktop.
# 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
# IDE files #
#############
nbproject
.~lock.*
.buildpath
.idea
.project
.settings
composer.lock
@frederickjh
Copy link

composer.lock should not be in a .gitignore file. It allows you to set the versions you want of packages for a project.

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