Super simple question I am sure I am missing but just can't find what:
Here is how my repository looks like:
In this .gitignore
file there is the following content:
*.class
# Mobile Tools for Java (J2ME)
.mtj.tmp/
# Package Files #
*.jar
*.war
*.ear
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
.settings
target
.project
.classpath
.springBeans
.metadata
Servers
.recommenders
.classpath
/Spring4SoapProducer/target/
Where most important is the last line. I want the target folder of this not to be under source control.
But as you can already guess it is. I am getting this when I go for git status
in folder directory localy.
I tried like all variations like /Spring4SoapProducer/target/
, Spring4SoapProducer/target/
, ./Spring4SoapProducer/target/
, */target
Well none of it helped also I am commiting the .gitignore
file before trying get status
again .
Someone please I'm sure it is something stupid that I am missing!