Git search for filename across all branches

git log --all --name-only --pretty=format:%H -- {glob}

example: git log --all --name-only --pretty=format:%H -- index*

This article was updated on 2023-01-25

I'm nabeards.

I'm a full stack JavaScript developer.

I travel full time, a.k.a., Professional Wanderer, a.k.a., Digital Nomad.