Created
March 25, 2014 21:32
-
-
Save stash/9771848 to your computer and use it in GitHub Desktop.
most-recently-used git branches (Perl one-liner)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git reflog | perl -ne 'print $1,$/ if (/checkout: moving from .+? to (.+)$/ && !$seen{$1}++)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment