git - .gitignore Not Handling somefolder/**/* correctly -
i have set of folders in somefolder , in 1 of subfolders, somesubfolder have file, some.file don't want ignored, created .gitignore such:
somefolder/**/* !somefolder/somesubfolder/some.file
i think test git ls-files --ignored --exclude-standard , see git still isn't ignoring file. change .gitignore file to
somefolder/**/*.* !somefolder/somesubfolder/some.file
and git starts behaving to. doing wrong? shouldn't have specify *.* means file . in it. should have specify *, right? i'm using git version 2.10.1 (apple git-78) , i've tried on v2.12.2.
Comments
Post a Comment