-
-
Save zpetr/e783d537f8a40bb6ec16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Thanks for adding the .idea
-- that was really bothering me, as if the rest of the stuff isn't ideas.
Yep, composer.lock file is made for syncing packages between developers, builds, etc. It should not be placed in .gitignore file.
well this darn .ignore file jacked up my IDE and now it doesn't even know I have a Java projct and doesn't function. how do I tell git to keep all my IDE configuration LOCALLY! and just not push to the repository.
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
Adding
composer.lock
is a bad idea. It's not actually generated by an IDE, and some applications require a committedcomposer.lock
. Projects that don't are better off adding it to their local.gitignore
.