gitignore - Git not ignoring files having .classpath and folders -


my project has lots of nested directories , files ending . e.g .classpath,.properties . need ignore them using pattern /.classpath git not ignoring them , if try ignore folder using pattern ejbserver/** not ignoring folder.i have tried response people have shared same issues reported in stackoverflow not working

i have attached git status output.any appreciated.enter image description here

do want ignore 'ejbserver/**' files?

ejbserver/** files status modified.

that staged file. maybe commit files.

git rm -r --cached ejbserver/**  git add ejbserver/** git commit -m "fixed untracked files" 

try this.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -