> From: John McKown <john.archie.mck...@gmail.com>
> git branch | awk '{print $NF;}' | xargs -l git grep "foo"

Or (which is easier to generalize):

for BRANCH in $( git branch | cut -c 3- ) ; do git grep "foo" $BRANCH ; done


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to