Gitea Pull Request Creation
Current Branch
!git branch --show-current
Instructions
Create a pull request for the current branch.
Base branch: Will be provided as context or default to main.
Gathering Context
First, gather context by running:
- •
git log <base>..HEAD --onelineto see commits - •
git diff <base>..HEAD --statto see changed files
Creating the PR
- •Check if a PR already exists for this branch:
tea pr list --state open - •Generate a concise, descriptive PR title based on the commits
- •Write a PR description summarizing the changes
PR Description Format
code
## Summary Brief overview of what this PR does. ## Changes - First significant change - Second significant change - Third significant change
Important:
- •Do NOT take attribution
- •Do NOT add "Generated with Claude Code" or similar footers
- •Each significant change should be on its own line prefixed with
-
Create the PR
bash
tea pr create --base <base> --title "..." --description "..."
After creation, output the PR URL.