git-grepall.sh: Add a script for grepping all local branches
authorW. Trevor King <wking@tremily.us>
Thu, 21 Mar 2013 19:34:53 +0000 (15:34 -0400)
committerW. Trevor King <wking@tremily.us>
Thu, 21 Mar 2013 19:36:50 +0000 (15:36 -0400)
commit2a4e1419a2543901495f8720590c3c5d2d612e1b
tree4f969e293df6d46c462f76e1a27211fc5227d272
parentd088a52ceacb7a529063fe475cc3172ee0a7325d
git-grepall.sh: Add a script for grepping all local branches

Sometimes I have a lot of branches (e.g. per-assignment branches for a
single class, to support sharing work between assignments), and I
forget which feature is in which branch.  Now I can run:

  $ git-grepall.sh PATTERN

to search all the local branches.
posts/Git/git-grepall.sh [new file with mode: 0755]