git-grep

Cerca stringhe nello storico dei file tracciati nel repository. Supporta molti degli stessi parametri accettati dal comando grep tradizionale. Maggiori informazioni: https://git-scm.com/docs/git-grep.

git grep {{stringa_ricercata}}

git grep {{stringa_ricercata}} -- {{file_glob_pattern}}

git grep --recurse-submodules {{stringa_ricercata}}

git grep {{stringa_ricercata}} {{HEAD~2}}

git grep {{stringa_ricercata}} $(git rev-list --all)