diff --git a/locperday.sh b/locperday.sh index 21c4d8c..b716489 100755 --- a/locperday.sh +++ b/locperday.sh @@ -1 +1,2 @@ +#!/bin/bash git log --shortstat --author "Allanis" --since "1 day ago" --until "0 day ago" | grep "files changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "| files changed", files, " | lines inserted:" inserted " | lines deleted:", deleted }'