`git grep -o` shows only the part of a line that matched
LucasLarson opened this issue · comments
Lucas Larson commented
git grep -o
(git grep --only-matching
) has been able to print only the matched parts of a line since v2.19.0 released in 2018, but beyondgrep.com doesn’t say so.
Andy Lester commented
Thanks for this. There's lot a lot that is out of date on that chart, but this is a good step in the right direction.