summaryrefslogtreecommitdiff
path: root/bin/kanbanscripts/havedonegit.sh
blob: 59cb066aa80aa09c4ca93281eee6b3b88b427a3f (plain)
1
2
3
4
5
6
7
8
9
10
OIFS="$IFS"
IFS=$'\n'
for f in $(git log --branches --pretty=format:"%s" --since="5am")
    do
        #watch out for / in commit messages
        nf=${f//\//:}
        echo $nf
        touch ~/gtd/done/$(date '+%Y-%m-%d')/"$nf".txt 
    done
IFS="$OIFS"