0

Files i want to ignore are in my-client/target/surefire-reports/*.txt

My .gitignore contains */surefire-reports/*.txt, but ignore does not seem to be happening. When i mvn install new reports are created and test data appears in need of a commit.

Is my .gitignore incorrect?

James Raitsev
  • 92,517
  • 154
  • 335
  • 470

1 Answers1

0

I think the path in your .gitignore should work.

Were the files that mvn install is generating added to your git repository before adding the git ignore line? If so, take a look at this other SO thread

Community
  • 1
  • 1
Christian
  • 1,258
  • 10
  • 11
  • Originally, when i noticed the issue, yes. After that, i updated my `.gitignore` and ran a commit. Followed by `mvn install` the same issue with commit is seen. New content is generated and is uncommitted. – James Raitsev Apr 20 '12 at 00:02
  • See info added, that should fix it – Christian Apr 20 '12 at 00:03