![enter image description here](https://i.stack.imgur.com/n4lgv.jpg)
В моем проекте тестирования Java Serenity после выполнения тестов цель и ее подкаталог 'site' будут заполнены десятками файлов и каталоговотображать отчеты и скриншоты.Конечно, я не хочу помещать все эти файлы в репозиторий git и даже не хочу, чтобы они отслеживались.Я сделал это в моем файле .ignore, который находится на верхнем уровне проекта вместе с pom.xml, как показано.
## Any un needed file any where in the project file structure.
*.class
*.tmp
*.jar
*.html
*.png
*.json
*.csv
*.DS_Store
# any eclipse project file.
.eclipse
.classpath
## All the folders underneath site folder
**/site
site/
site/*
## target folder at the top level of the project structue and paths and contents underneath it
target/
target/*
## target folder at any level of the project structue
**/target
/target
![enter image description here](https://i.stack.imgur.com/IFgOo.jpg)
У меня все еще появляются файлы, которые отслеживаются ...