I'm searching through my repository (with vim-fugitive's :Ggrep), I have different .js files - the minified ones and the regular ones.
I would like to omit from git grep
the minified files (in other words - the very long lines that match the query). I looked into git help grep
and googled but couldn't find anything. All ideas are welcomed.
for me, the best way was to create a file with name .gitattributes and this content:
*.min.js binary
*.min.css binary
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With