I am working on a maven project and I want to ignore the files generated and stored in the /target folder of my project (Evaluation) root folder.In the root of my git repository
I found that by deleting the repository, then having the .gitignore file in the folder when the repository is recreated the ignore file is respected.