sonatype/oss-parents — comment on commit b30d8154d1e91ee30c39314efa0ac75285c83c71
File: spice-parent/pom.xml line 211
By peterlynch:

What about .gitignore and .gitattributes?

**/.git*

would seem cover all?