cron: git pull first for org commits
Prithu Goswami pg@prithu.dev
Thu, 19 Jan 2023 20:39:34 +0530
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
bin/cron/org-autocommit-cron
→
bin/cron/org-autocommit-cron
@@ -2,6 +2,7 @@ #!/bin/sh
cd $HOME/docs/org cmsg=$(git status -s) +git pull git add . && git commit -m "auto commit: $(whoami)@may"\ -m "$cmsg"