Skip to content

Instantly share code, notes, and snippets.

Created Jul 23, 2009
What would you like to do?
for branch in `git branch -a | sed 's/\*//'`; do for blob in `git ls-tree $branch | grep tree | awk '{print $3}'`; do git grep "something" $blob; done; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment