Is there an option to restrict git diff to a given set of file extensions?
git diff
git diff will only show differences in unstaged files.
I found this question because I wanted to exclude .info files from git diff. I achieved this by staging it with git add *.info, which reduces the files left.
.info
git add *.info