Commit and push vault changes to Git with smart commit messages. Auto-stages files, creates meaningful commits, and syncs with remote. Use after making vault changes or at end of day.
Automates Git workflow to save your notes with meaningful commit messages and push to remote repository.
Invoke with /push or ask Claude to save/commit your changes.
/push
/push "Completed project planning"
Stages All Changes
Creates Smart Commit Message
Syncs with Remote
Based on your changes:
Daily note for 2024-01-15 + 3 project updates
- Added: Daily Notes/2024-01-15.md
- Modified: Projects/Learning Spanish/notes.md
- Modified: Goals/2. Monthly Goals.md
[2024-01-15 09:30] Completed weekly review
/daily # Create daily note
# ... work on notes ...
/push "Morning planning complete"
# Complete daily reflection
/push # Auto-message with summary
/weekly # Run weekly review
/push "Weekly review - Week 3"
git add . - Stage all changesgit commit -m "message" - Create commitgit pull --rebase origin main - Get remote changesgit push origin main - Push to remoteIf conflicts occur:
private/
credentials.md
.env
.obsidian/workspace*
.obsidian/cache
.trash/
.DS_Store
Pull first, then push again:
git pull --rebase origin main
git push origin main
git init
git remote add origin [URL]
Consider Git LFS for images/attachments.
Works with:
/daily - Commit after creating daily note/weekly - Commit after weekly review/onboard - No git needed for context loading