gh issue develop
gh issue develop {<number> | <url>} [flags]
Manage linked branches for an issue.
When using the --base
flag, the new development branch will be created from the specified
remote branch. The new branch will be configured as the base branch for pull requests created using
gh pr create
.
Options
-b
,--base <string>
- Name of the remote branch you want to make your new branch from
-
--branch-repo <string>
- Name or URL of the repository where you want to create your new branch
-c
,--checkout
- Checkout the branch after creating it
-l
,--list
- List linked branches for the issue
-n
,--name <string>
- Name of the branch to create
Options inherited from parent commands
-R
,--repo <[HOST/]OWNER/REPO>
- Select another repository using the [HOST/]OWNER/REPO format