When I git push
my project, it doesn't ignore the "nbproject" directory although it's in the ".gitignore" file!
I tried :
git rm -r --cached nbproject
it stops tracking 'nbproject' in the next git push only, but it will be pushed again from the second push !!
Why does this happen ??!