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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -