Hi Sahib, On Sunday, February 18, 2018 at 1:18:55 AM UTC+1, Sahib Bin Mahboob wrote: > > > I was playing with this following gitignore for fun: > > */** > > *!/app* > *!/app/a* > > > And later tried with this command "git check-ignore app/a -v" with the > output: > > .gitignore:7:!/app/a app/a > > > As per as I understood from Gitignore doc > <https://git-scm.com/docs/gitignore> "*!/app/a*" should indicate to > include "app/a" more precisely but instead git is ignoring it. > > > Any idea what I am missing here? >
Are you saying (for example) `git status -uall` doesn`t show "app/a" for you anymore, or you`re just confused by its output (or one from `git check-ignore -v app/a`)? Mentioning your Git version might be good as well. I`ve tested your case with version 2.16.1.windows.1, and it seems to work as expected (and described by the docs). Regards, Buga -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.