Kshitiz Sharma
Kshitiz Sharma

Reputation: 18597

How do see find number of lines changed per file in git log

The title says it all. When using git log is it possible to print changed line count per file?

This would be helpful because sometimes a single commit can be quite large, containing hundreds of files. And I quickly want to get down to the meaty bits instead of going through all files one by one.

Upvotes: 3

Views: 592

Answers (1)

choroba
choroba

Reputation: 241758

Yes, it's possible. Use the --stat option:

git log --stat

Upvotes: 4

Related Questions