Can you ignore all subdirectories inside cache directory? If so, just write
cache in your .gitignore file. Git will ignore all cache directories independently where it was. It can be in project root or inside a directory. William Seiti Mizuta @williammizuta Caelum | Ensino e Inovação www.caelum.com.br On Wed, Nov 13, 2013 at 11:15 AM, <wtriker....@gmail.com> wrote: > I have some files that I want to ignore but can't seem to come up with the > correct format. There are multiple sub-directories with the same path that > I want to ignore. Specifically, the are '<someupper path>/system/cache' and > all start with 'cache.'. The .gitignore entry I am using is: > > system/cache/cache.* > > But that does not work. What is the correct syntax to ignore these files? > TIA. > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.