Glob patterns explained (and why .gitignore behaves that way)

· Flaviocopes · Aug. 10, 2026, 6:50 a.m.
Summary
This post explains how glob patterns function, focusing on elements like the star, double star, question marks, character classes, brace expansion, and common pitfalls in gitignore rules. It aims to clarify confusion around file matching in development contexts.
AUTHOR
Sponsored
Zulip logo Zulip
Organized team chat for people who take work seriously. Topic-based threading keeps conversations focused.
Try Zulip
Become a sponsor →