If you want to make a diff with more than one file, with the method specified by @mipadi:
E.g. diff between HEAD
and your master
, to find all .coffee
files:
git diff master..HEAD -- `find your_search_folder/ -name '*.coffee'`
This will recursively search your your_search_folder/
for all .coffee
files and make a diff between them and their master
versions.