How to restrict command “git grep” to the first search result per file?
- From
- Markus Elfring <markus.elfring@web.de>
- Date
- Jul 6, 2025, 11:28 UTC
- Message-ID
- <fb74577d-f7b8-4fde-ab5a-5283e70b8258@web.de>
Hello,
File contents can be searched also by the means of the program call “git grep”. Would you become interested to find specified items only once in each file (instead of multiple times)?
Regards, Markus