[
https://issues.apache.org/jira/browse/SLING-7213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215370#comment-16215370
]
Robert Munteanu commented on SLING-7213:
----------------------------------------
I guess many of those should be prepended by a slah, to only match the
top-level dir. We may have valid uses cases for instance of having a package
named 'target'.
> Add a default .gitignore file to every module
> ---------------------------------------------
>
> Key: SLING-7213
> URL: https://issues.apache.org/jira/browse/SLING-7213
> Project: Sling
> Issue Type: Sub-task
> Components: Best practices
> Reporter: Radu Cotescu
> Priority: Trivial
>
> All migrated modules should provide a barebone {{.gitignore}} file. At
> minimum this should provide the following rules:
> {noformat}
> target
> .idea
> .classpath
> .metadata
> .project
> .settings
> .externalToolBuilders
> maven-eclipse.xml
> *.swp
> *.iml
> *.ipr
> *.iws
> *.bak
> .vlt
> .DS_Store
> jcr.log
> atlassian-ide-plugin.xml
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)