summaryrefslogtreecommitdiffstats
path: root/.local/bin/sync-todo.sh
blob: 21001d3202e2fb0edae564541ea943d4d2262a30 (plain)
1
2
3
4
5
6
7
#!/usr/local/bin/dash

date=$(date)
git -C /usr/home/jozan/.emacs.d/org/todo add . >/dev/null 2>&1
git -C /usr/home/jozan/.emacs.d/org/todo commit -m "$date" >/dev/null 2>&1 || exit 1
git -C /usr/home/jozan/.emacs.d/org/todo push origin master >/dev/null 2>&1
exit