Ignore files in the target folder

0

How do I ignore the files in the target folder of Maven?

I want to ignore them so that git does not see the files.

    
asked by anonymous 08.05.2017 / 18:47

1 answer

1

In the .gitignore file, include the */target/* syntax.

This causes git to ignore everything within any folder called target

Read the official git documentation for .gitignore . It describes in detail the patterns that can be used to ignore project files and folders.

    
08.05.2017 / 18:56