gh issue develop

Create a branch to work on an issue

What it does

gh issue develop creates a branch on GitHub linked to the issue: it shows up under Development, and a PR from it is tied to the task. By default the branch name is built from the issue's number and title.

--checkout fetches the branch and switches to it right away, --name sets your own name, and --base the branch to start from.

Syntax

gh issue develop <number> --checkout
gh issue develop <number> --name <branch> --base <branch>

Examples

Related commands

Practise · All commands