Git summary statistics between two tags

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Git summary statistics between two tags



I asked a question Git statistics on all files, between two tags some time ago, and got two nice answers.



However, I now need to get how many lines of code is added and deleted between two tags. So, just two numbers, not broken down by files. Obviously, I can run git diff --numstat, and than sum data for all files. But, is there a direct way to get these rwo numbers from git?





Does --shortstat work for you?
– Ry-
6 mins ago


--shortstat




1 Answer
1


git diff --shortstat tag1 tag2



documentation






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived