Create a GitHub pull request for the current branch.
Steps:
- •Determine the base branch (usually main)
- •Run
git log main..HEAD --onelineto see all commits - •Run
git diff main...HEAD --statfor changed files summary - •Draft a PR title (<70 chars) and body with:
- •
Summary (2-3 bullet points)
- •
Changes (file-level summary)
- •
Test plan (checklist)
- •
- •Push the branch with
git push -u origin HEADif needed - •Create the PR with
gh pr create - •Return the PR URL
$ARGUMENTS can specify the base branch or title hint.