Change the grep command called by git with alternative tools, such as ug.
- From
- Hongyi Zhao <hongyi.zhao@gmail.com>
- Date
- Jan 2, 2025, 11:48 UTC
- Message-ID
- <CAGP6POJX9GFsNkgGd7o9Pr-tFoz0sgRk51vVG4P0Kn1DPZe+3Q@mail.gmail.com>
Hi there,
Can I change the grep command called by git with alternative tools, such as ug [1]?
Say in the following command:
$ git grep -i jobflow
I tried to replace grep with ug, but failed as follows:
$ git ug -i jobflow git: 'ug' is not a git command. See 'git --help'.
The most similar command is
gui[1] https://github.com/Genivia/ugrep
Regards, Zhao
-- Assoc. Prof. Hongsheng Zhao <hongyi.zhao@gmail.com> Theory and Simulation of Materials Hebei Vocational University of Technology and Engineering No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province