git grep by file extensions
Try doing this :
find . -type f -iname '*.js' -exec grep -i 'pattern' {} +
Yes, for example:
git grep res -- '*.js'
Try doing this :
find . -type f -iname '*.js' -exec grep -i 'pattern' {} +
Yes, for example:
git grep res -- '*.js'