GH-ISSUE-DEVELOP(1) GitHub CLI manual GH-ISSUE-DEVELOP(1)

gh-issue-develop - Manage linked branches for an issue

gh issue develop {<number> | <url>} [flags]

Name of the base branch you want to make your new branch from
Name or URL of the repository where you want to create your new branch
Checkout the branch after creating it
List linked branches for the issue
Name of the branch to create

Select another repository using the [HOST/]OWNER/REPO format

# List branches for issue 123
$ gh issue develop --list 123
# List branches for issue 123 in repo cli/cli
$ gh issue develop --list --repo cli/cli 123
# Create a branch for issue 123 based on the my-feature branch
$ gh issue develop 123 --base my-feature
# Create a branch for issue 123 and checkout it out
$ gh issue develop 123 --checkout
# Create a branch in repo monalisa/cli for issue 123 in repo cli/cli
$ gh issue develop 123 --repo cli/cli --branch-repo monalisa/cli

gh-issue(1)

Apr 2024