How can I calculate the number of lines changed between two commits in git?

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-03-27T04:02:58Z Indexed on 2010/03/27 4:13 UTC
Read the original article Hit count: 166

Filed under:

Is there any easy way to calculate the number of lines changed between two commits in git? I know I can do a git diff, and count the lines, but this seems tedious. I'd also like to know how I can do this, including only my own commits in the linecounts.

© Stack Overflow or respective owner

Related posts about git