Hello, I have got this gitignore file and my definition is:
# ignore everything *.* #globally allowed !.gitignore !*.md !*.java # allow doxygen configuration in the documentation dir and any subdir !src/main/documentation/**/*.css !src/main/documentation/**/*.htm !src/main/documentation/**/*.doxyfile !src/main/documentation/**/*.vsdx # the resource folder and all subdirs can store these files !src/main/resources/**/*.htm !src/main/resources/**/*.html !src/main/resources/**/*.js !src/main/resources/**/*.css !src/main/resources/**/*.xml !src/main/resources/**/*.png !src/main/resources/**/*.properties # the styleguide dir can store 2 filetypes !src/main/styleguide/*.xml !src/main/styleguide/*.header # these dirs with its subdirs are excluded independed on the above definition target/** src/main/resources/web/documentation/developer/** I try to add jQuery UI with these pathes: src/main/resources/web/root/js/jquery-ui-1.11.4/images src/main/resources/web/root/js/jquery-ui-1.11.4/jquery-ui.min.css src/main/resources/web/root/js/jquery-ui-1.11.4/jquery-ui.min.js src/main/resources/web/root/js/jquery-ui-1.11.4/jquery-ui.structure.min.css src/main/resources/web/root/js/jquery-ui-1.11.4/jquery-ui.theme.min.css src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_flat_0_aaaaaa_40x100.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_flat_75_ffffff_40x100.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_glass_55_fbf9ee_1x400.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_glass_65_ffffff_1x400.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_glass_75_dadada_1x400.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_glass_75_e6e6e6_1x400.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_glass_95_fef1ec_1x400.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-bg_highlight-soft_75_cccccc_1x100.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-icons_222222_256x240.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-icons_2e83ff_256x240.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-icons_454545_256x240.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-icons_888888_256x240.png src/main/resources/web/root/js/jquery-ui-1.11.4/images/ui-icons_cd0a0a_256x240.png so imho this rules should be matched: !src/main/resources/**/*.js !src/main/resources/**/*.css !src/main/resources/**/*.png but Git reports that the files will be ignored, so there seems to be an error in my configuration. Can anybody help me to create a working gitignore configuration and can explain me my mistake? Thanks Phil -- 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.