Y
Hacker News
new
|
ask
|
show
|
jobs
by
jjgreen
331 days ago
All files in this git repository containing the string "foo"
git grep foo | cut -d: -f1 | uniq
2 comments
sshine
331 days ago
Using ripgrep,
rg -l foo | uniq
link
PeterWhittaker
331 days ago
git grep -l foo | sort -u
link