-
-
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 |
Compiled source:
- target - directory generated in a maven build environment. Contains all the compiled sources and packages.
Packages: - .war
- .ear
Adding composer.lock
is a bad idea. It's not actually generated by an IDE, and some applications require a committed composer.lock
. Projects that don't are better off adding it to their local .gitignore
.
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.
Could you add .pyc extension here?