Skip to content

Instantly share code, notes, and snippets.

@aaronpowell
Created March 26, 2014 00:30
Show Gist options
  • Select an option

  • Save aaronpowell/9774533 to your computer and use it in GitHub Desktop.

Select an option

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