小编All*_*ell的帖子

使用 grep 搜索字符串时如何避免 .git

我正在尝试使用 grep 在文件夹中搜索字符串。

grep -r "word" .
Run Code Online (Sandbox Code Playgroud)

但它包括对 .git 文件的搜索,我想避免这种情况。

谢谢

linux terminal grep git command-line

2
推荐指数
1
解决办法
1193
查看次数

标签 统计

command-line ×1

git ×1

grep ×1

linux ×1

terminal ×1