summaryrefslogtreecommitdiff
path: root/kanbanscripts/havedonegit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'kanbanscripts/havedonegit.sh')
-rwxr-xr-xkanbanscripts/havedonegit.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/kanbanscripts/havedonegit.sh b/kanbanscripts/havedonegit.sh
new file mode 100755
index 0000000..59cb066
--- /dev/null
+++ b/kanbanscripts/havedonegit.sh
@@ -0,0 +1,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"