git - gitignore is not ignoring one specific folder -
using msysgit on windows: git version 1.8.5.2.msysgit.0
i have folder tree hundreds of small projects this:
root |--project1 |--xx/xx/xx/xx/obj |--project2 |--yy/yy/yy/yy/obj |--project3 |--zz/zz/zz/zz/obj
i have entry obj/ in .gitignore file
one single obj folder not being ignored , appears in untracked files list. have tried commands such as:
git rm -r --cached project3\zz\zz\zz\zz\obj
but says pathspec did not match files - of course files not tracked in git repository.. they're in local folder.
how can ignore folder?
Comments
Post a Comment