I was wondering which files of a project should committed to a repository. For example, i've created the gitignore file for a project of mine, a java web app created with NetBeans. On gitignore.io i put the netbeans tag but i noticed that there's some files likes .properties or build.xml still not ignored. Should i ignore those ones too or not? And the META-INF and WEB-INF should be ignored too?
Thanks in advance
GitHub has a repository with a lot of example .gitignore
-Files.
Just collect your suggested Files and put all together in a .gitignore
Here is the .gitignore
for NetBeans: https://github.com/github/gitignore/blob/master/Global/NetBeans.gitignore