setec
setec

Reputation: 16110

How to log total diff size of commits in git?

Is there a simple way to show total size of changed code, not just number of commits, like

git shortlog -n -s do ?

Preferably with option to filter create/remove diffs.

Upvotes: 0

Views: 802

Answers (1)

pktangyue
pktangyue

Reputation: 8534

I don't know what exactly you want, but you can try git diff --shortstat HEAD~10..HEAD~5, the result is like this:

27 files changed, 1431 insertions(+), 592 deletions(-)

Upvotes: 2

Related Questions