1GH-ISSUE-DEVELOP(1)            GitHub CLI manual           GH-ISSUE-DEVELOP(1)
2
3
4

NAME

6       gh-issue-develop - Manage linked branches for an issue
7
8
9

SYNOPSIS

11       gh issue develop [flags] {<number> | <url>}
12
13
14

OPTIONS

16       -b, --base <string>
17              Name of the base branch you want to make your new branch from
18
19
20       -c, --checkout
21              Checkout the branch after creating it
22
23
24       -i, --issue-repo <string>
25              Name or URL of the issue's repository
26
27
28       -l, --list
29              List linked branches for the issue
30
31
32       -n, --name <string>
33              Name of the branch to create
34
35
36

OPTIONS INHERITED FROM PARENT COMMANDS

38       -R, --repo <[HOST/]OWNER/REPO>
39              Select another repository using the [HOST/]OWNER/REPO format
40
41
42

EXAMPLE

44              $ gh issue develop --list 123 # list branches for issue 123
45              $ gh issue develop --list --issue-repo "github/cli" 123 # list branches for issue 123 in repo "github/cli"
46              $ gh issue develop --list https://github.com/github/cli/issues/123 # list branches for issue 123 in repo "github/cli"
47              $ gh issue develop 123 --name "my-branch" --base my-feature # create a branch for issue 123 based on the my-feature branch
48              $ gh issue develop 123 --checkout # fetch and checkout the branch for issue 123 after creating it
49
50
51
52
53

SEE ALSO

55       gh-issue(1)
56
57
58
59                                   Jan 2023                GH-ISSUE-DEVELOP(1)
Impressum