PR Workflow
Steps
- •
Validate:
pnpm build - •
Branch: Ask user or suggest (
fix/,feat/,refactor/,docs/)bashgit checkout -b {branch-name} - •
Commit: Stage specific files, use emoji-log format
- •
FIX:|NEW:|IMPROVE:|DOC:
bashgit add {files} && git commit -m "$(cat <<'EOF' FIX: Description EOF )" - •
- •
Push:
git push -u origin {branch} - •
PR:
bashgh pr create --title "FIX: Description" --body "$(cat <<'EOF' ## Summary - Changes ## Test plan - [ ] Tests EOF )"
- •
Main:
git checkout main && git pull --rebase origin main - •
Merge: Ask user, then:
bashgh pr merge {number} --squash --delete-branch git pull --rebase origin main