Skip to content

Instantly share code, notes, and snippets.

@adzenith
adzenith / git-line-add-delete-per-day.sh
Last active June 6, 2018 14:27 — forked from yuan3y/git-line-add-delete-per-day.sh
Get number of lines added and deleted per day from your git repo
#!/bin/bash
usage() {
echo "Usage: $0 BRANCH NUM_DAYS"
exit 1
}
ds() {
date --date="$1 days ago" +%Y-%m-%d
}