Show Changes, Excluding a Directory
This is a command we figured out recently that I'm proud of:
$ git diff --name-only new-branch..master -- . ':!spec'
This printed a list of all the files that differed between our new-branch
and master
, excluding changes in the spec
directory. From here you can check out the files in either state and explore.