diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/sync-todo.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.local/bin/sync-todo.sh b/.local/bin/sync-todo.sh new file mode 100755 index 0000000..21001d3 --- /dev/null +++ b/.local/bin/sync-todo.sh @@ -0,0 +1,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 |