'Sum of all diffs (lines count) that were ever made in branch, even if some got overriden by later commits, and did't made it to the final revision
Suppose I made two commits:
- In first one I added 50 lines to the file, and deleted 20, so the diff between my branch and master is
+50, -20 - In second one I removed 30 of those 50 lines, I've added in previous commit, and brought back 5 of those 20, I've deleted in previous commit, so diff between my branch and master is
+20, -15
The diff in guthub for a branch would show +20, -15, but I want something like this:
Sum of all diffs, in this case is (+50)+(+5), (-20)+(-30) = +55, -50? (sum of all additions and insertions in all commits)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
