質問

I have a directory of images where I only want to .gitignore a specific subset of those images that match the pattern

\d{5}.png

Namely, 01001.png or 93002.png, for example.

For some reason, I'm not able to find the gitignore pattern for this or the bash glob that doesnt say 'too many arguments'

役に立ちましたか?

解決

You can do

[0-9][0-9][0-9][0-9][0-9].png
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top