How to force git greg to show line number of returned file
You can use this global option:$ git config --global grep.lineNumber trueNext git you hi
2024-7-31 19:19:43
Author: acassis.wordpress.com(查看原文)
阅读量:7
收藏
You can use this global option:
$ git config --global grep.lineNumber true
Next git you hit “git grep someword” it will show the line number on returned files.