New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.gitignore ** rules not consistent with regular git syntax #1641
Comments
|
The doc says this:
So I think it really is two asterisks. |
@NomarCub Since you need to feature maybe you want to do the fix? This project is driven by contributors. I'm a maintainer but I don't write code myself for this project. And there is no primary author, that will do all the hard work. |
I kinda have a lot on my plate now, but I might take a look eventually. |
|
Thanks for pointing that out. It also looks it has been reported (or at least a variation of this case): kaelzhang/node-ignore#57 |
I have no means to verify for my examples anymore, but apparently this has been solved in node-ignore. |
folder/other-folder/**/**js
does not ignorefolder/other-folder/dir/main.js
.Double asterisks should be interpreted here as two asterisks, which match anything - see https://git-scm.com/docs/gitignore#_pattern_format
I am using isogit in a plugin to the Obsidian note-taking app on Android. The issue came up there: denolehov/obsidian-git#297
The text was updated successfully, but these errors were encountered: