Skip to content

ezgh git prs create

Open a pull request.

Updated View as Markdown
ezgh git prs create <repo> --head <branch> --title <title> [--base <branch>] [--body text] [--draft] [flags]

Open a pull request to merge --head into --base (the repository’s default branch unless set), both branches of the repository.

Part of ezgh git prs.

Examples

ezgh git prs create site --head agent/fix-header --title "Fix the header"
ezgh git prs create site --head release/2 --base main --title "Release 2" --draft

Flags

Flag Type Default Description
--base string the branch to merge into (default the repository’s default branch)
--body string its description
--draft boolean open it as a draft, which can’t be merged
--head string the branch with the changes
--title string its title

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close