Вопрос

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?

Это было полезно?

Решение

You could do with:

git grep 'the specified text' $(git rev-list --all)
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top