Frage

I need to list all the files that currently or at some point in history contained a specified text.Is there anyway to do that?

War es hilfreich?

Lösung

You could do with:

git grep 'the specified text' $(git rev-list --all)
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top