Concept

Git pathspec

Limit path selection; quote patterns to avoid shell expansion.

Formal Syntax & Structure

git syntaxgit
git ls-files -- ":(glob)docs/**/*.md"
Git Reference