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