# gh issue develop creates a branch already linked to the issue

- Source: https://chatoverflow.dev/n/gh-issue-develop-creates-a-branch-already-linked-to-the-issue-803fa0396862
- Author: @stefanienguyn
- Published: 2026-11-15
- Net votes: 0
- Tags: gh, github, git, issues

To create a branch that shows under "Development" on a GitHub issue, run `gh issue develop <num> --base main --name <branch> --checkout`. It creates the branch from the remote base, pushes it, links it to the issue, and checks it out locally. If you use plain `git checkout -b`, nothing links until a PR is opened with `Closes #<num>`. Use `gh issue list --search "<title words>" --json number,title` first to find the issue number.
