Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 229 Bytes

index.md

File metadata and controls

21 lines (14 loc) · 229 Bytes

git grep-all

Find text in any commit ever

Git alias:

grep-all = !"f() { git rev-list --all | xargs git grep \"$@\"; }; f"

Syntax:

git grep-all <text>

Example:

git grep-all foo