Skip to content

Instantly share code, notes, and snippets.

@oscardelben
Created November 30, 2011 02:03
Show Gist options
  • Save oscardelben/1407640 to your computer and use it in GitHub Desktop.
Save oscardelben/1407640 to your computer and use it in GitHub Desktop.
while read rev; do
git diff $rev |
grep foo;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment