Created
October 2, 2014 02:39
-
-
Save tamzinblake/8fa971d42d32c5586932 to your computer and use it in GitHub Desktop.
How to find lines of code by a particular author
This file contains 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
for i in `git ls-tree -r master --name-only`; do [[ -n $(git blame $i | grep 'TJ Koblentz') ]] && echo $i; git blame $i | grep 'TJ Koblentz'; done | less -S |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment