我正在尝试使用 grep 在文件夹中搜索字符串。
grep -r "word" .
但它包括对 .git 文件的搜索,我想避免这种情况。
谢谢
linux terminal grep git command-line
command-line ×1
git ×1
grep ×1
linux ×1
terminal ×1