Create GitHub PR
Creates a Pull Request for the current work.
Instructions
- •
Branch Check
- •If current branch is
mainordevelop:- •Ask user for branch name (e.g.,
feature/...). - •
git checkout -b <new-branch>
- •Ask user for branch name (e.g.,
- •Else: Continue.
- •If current branch is
- •
Push Changes
- •Ensure all changes are committed.
- •
git push origin HEAD
- •
Draft PR Body
- •Format: Markdown (Korean).
- •Content:
- •Link Issue (
Closes #ID). - •Summary of changes (Why & What).
- •Test/Verification status.
- •Link Issue (
- •Show draft to user.
- •
Create PR
- •
gh pr create --base develop --title "제목" --body "본문"
- •