Ever wondered how many lines of code you have added or deleted, within a day or a week?

Here we go…

❯ git diff --shortstat "@{1 day ago}"
 36 files changed, 35 insertions(+), 1263 deletions(-)
❯ git diff --shortstat "@{1 week ago}"
 40 files changed, 821 insertions(+), 1270 deletions(-)

How do you generate stats from git?

Drop me a line on Twitter or via e-mail.