Search code examples
gitblame

Git Blame: View all Lines Authored by Specific User


Can git blame be used to view all lines in the current codebase committed by a single user?


Solution

  • Closest I could get was

    git log -p --author=<author> <filename>
    

    or

    git blame <filename> | grep <authorname>