Create Draft PR
Steps
- •
Ensure on feature branch
- •If on
main: Ask for short description and create branchfeature/{description} - •Checkout:
git checkout -b <branch-name> - •If already on feature branch → continue
- •If on
- •
Commit changes
- •
git add . - •Commit format:
feat: <summary>orfix: <summary>based on change type
- •
- •
Push branch
- •
git push -u origin HEAD
- •
- •
Create Draft PR
- •
gh pr create --draft - •Title from latest commit message
- •Base branch:
main - •PR description format (What and Why only - NO test plan):
code
## What [1-3 sentences: What does this PR do?] ## Why [1-3 sentences: Why is this change needed?]
- •IMPORTANT: Do NOT include a test plan section in the PR description
- •