I want to tell git to ignore e.g. jpg files regardless of how the extension is written.
e.g.
*.jpg
should ignore
.jpg, .JPG., .Jpg
etc.
Is that possible without telling git to ignore case altogether?
Git ignore understands glob pattern, so you can use this
*.[jJ][pP][gG]
2.1m questions
2.1m answers
60 comments
57.0k users