Is there an option to restrict git diff to a given set of file extensions?
git diff
Attention that params order makes difference...for example:
git diff master --name-only --relative -- "**/*.ts" "**/*.tsx" "**/*.js" "**/*.jsx" "**/*.vue"
'diff' need to be followed with 'master'