Hi Buga, Thanks for your reply. The command you mentioned is something I already tried.
Interestingly I can not reproduce the problem again. I will raise my concern again if I can successfully create the problem consistently. Thanks. On Sun, Feb 18, 2018 at 4:38 PM Igor Djordjevic <[email protected]> wrote: > 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 a topic in the > Google Groups "Git for human beings" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/git-users/wP9ua4aCQRY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
