How to count the total lines added & deleted in a Git repository for one year(January to December 2020).
Asked
Active
Viewed 40 times
0
-
https://stackoverflow.com/search?q=%5Bgit%5D+count+changed+lines – phd Dec 30 '20 at 13:55
-
Esp. [`git diff --shortstat`](https://stackoverflow.com/a/41307958/7976758). To name commits by date instead of SHA1/refs use [`HEAD@{2020-01-01}` syntax](https://git-scm.com/docs/gitrevisions#Documentation/gitrevisions.txt-emltrefnamegtltdategtemegemmasteryesterdayememHEAD5minutesagoem) – phd Dec 30 '20 at 13:55