Skip to content

Instantly share code, notes, and snippets.

@aaronpowell
Created March 26, 2014 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronpowell/9774533 to your computer and use it in GitHub Desktop.
Save aaronpowell/9774533 to your computer and use it in GitHub Desktop.
Diff multiple files in git
#!/bin/sh
git status -s | grep "^ M .*\.cs$" | sed 's/ M //' | while read i; do git diff --ignore-space-change $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment