From 950153853fc724e65920f87113a65f5ad179010a Mon Sep 17 00:00:00 2001 From: Deepak Jois Date: Wed, 7 Aug 2024 18:59:59 +0530 Subject: [PATCH] Add git push to sync-notes.sh --- sync-notes.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sync-notes.sh b/sync-notes.sh index 732621f0..41fd153b 100755 --- a/sync-notes.sh +++ b/sync-notes.sh @@ -24,6 +24,7 @@ if [[ -n $(git status -s) ]]; then git add content/daily-notes/ git commit -m "Obsidian Sync $current_datetime" echo "Changes committed successfully." + git push else echo "No changes to commit." -fi \ No newline at end of file +fi