Prompt file imported from databuddy-analytics/Databuddy (
.cursor/commands/commit.md). Copyright stays with the author.
Commit and push to staging
Commits all changes and pushes to staging branch.
Before Committing
- Run
git statusto see what's changed - Run
git diff --statto understand the scope - Run
git log --oneline -5to match commit message style
Commit Message Style
- Short, lowercase, no period
- Start with:
fix:,feat:,cleanup:,chore:,docs: - Describe what changed, not how
Examples
fix: empty state consistency in events pages
feat: add dark mode toggle
cleanup: remove unused imports
chore: update dependencies
docs: update readme
Commands
git add -A
git commit -m "message here"
git push origin staging
Rules
- Only push to
staging, nevermain - One commit per logical change
- Don't commit
.envor secrets