Created
January 8, 2016 22:30
-
-
Save abraithwaite/fa7eee6a90a148a8fbaf to your computer and use it in GitHub Desktop.
When you're too lazy to switch branches to read that file.
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
#!/bin/sh | |
git ls-tree -r $1 | grep $2 | awk '{print $3}' | xargs git cat-file blob |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment