How can I get rid of iine (end) in git grep and how do I use with exclude-standard?

433 views Asked by At

I execute this command:

git grep -Ee "alex" -- bin

and I don't return to shell. In the end there is "line (end)".

  1. How can I get rid of iine (end) without git grep -Ee "alex" -- bin | more or kill the process ? because I want to save color of match.

  2. Besides, I don't understand meaning of --exclude-standard and --no-exclude-standard. I get same result when I use or no use with these flags.

  3. How can I skip pattern between lines /* */ for example

  /*
    alex
    a
    */

git grep alex will skip

0

There are 0 answers