/push — Git Push
Automates Git workflow to save your notes with meaningful commit messages and push to remote repository.
Usage
Invoke with /push or ask Claude to save/commit your changes.
Basic Usage
/push
With Custom Message
/push "Completed sprint planning"
What This Skill Does
Stages All Changes
- Adds all modified files
- Includes new files
- Removes deleted files
Creates Smart Commit Message
- Uses provided message, or
- Auto-generates from changes:
- Counts files by folder type (daily, docs, blockers, etc.)
- Summarizes key modifications
- Includes date/time stamp
Syncs with Remote
- Pulls latest changes (rebase)
- Pushes to remote repository
- Handles merge conflicts gracefully
Commit Message Format
Automatic Messages
Based on your changes:
[2026-01-15] Daily note + 2 blocker updates + 1 decision
With Custom Message
[2026-01-15] Completed sprint planning
Git Operations
Standard Flow
git add .- Stage all changesgit commit -m "message"- Create commitgit pull --rebase- Get remote changesgit push- Push to remote
Safety Checks
- Verify Git repository exists
- Check for uncommitted changes
- Ensure remote is configured
- Never force push without explicit request
Security Considerations
Never Commit
.envfiles or credentials- API keys or tokens
- Personal identification
Use .gitignore for
.obsidian/workspace*
.obsidian/cache
.trash/
.DS_Store