There are multiple git projects (using springboot) under one larger project.
ContainerProject
-.gitignore
  Subproj1/
   -.gitignore
   -target/ 
  Subproj2
   -.gitignore
   -target/ 
 ....
I need to ignore the target folder in all the projects within the .gitignore for the umbrella project.
I tried
**/target/
**/target
**/target/*
But none seems to be working for me. git status for the container project still lists changes from these target folders in the sub projects. 
 
    