diff --git a/pages/common/rg.md b/pages/common/rg.md index e469d34e5..f713177cb 100644 --- a/pages/common/rg.md +++ b/pages/common/rg.md @@ -25,3 +25,7 @@ - Only list matched files -- useful when piping to other commands: `rg --files-with-matches {{pattern}}` + +- Show lines that do not match the given pattern: + +`rg --invert-match {{pattern}}`