Skip to content

Commit

Permalink
Add git push to sync-notes.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakjois committed Aug 7, 2024
1 parent ff4c52c commit 9501538
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sync-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
fi

0 comments on commit 9501538

Please sign in to comment.