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 {<number> | <url>} [flags]
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       --branch-repo <string>
21              Name  or URL of the repository where you want to create your new
22              branch
23
24
25       -c, --checkout
26              Checkout the branch after creating it
27
28
29       -l, --list
30              List linked branches for the issue
31
32
33       -n, --name <string>
34              Name of the branch to create
35
36
37

OPTIONS INHERITED FROM PARENT COMMANDS

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

EXAMPLE

45       # List branches for issue 123
46       $ gh issue develop --list 123
47
48       # List branches for issue 123 in repo cli/cli
49       $ gh issue develop --list --repo cli/cli 123
50
51       # Create a branch for issue 123 based on the my-feature branch
52       $ gh issue develop 123 --base my-feature
53
54       # Create a branch for issue 123 and checkout it out
55       $ gh issue develop 123 --checkout
56
57       # Create a branch in repo monalisa/cli for issue 123 in repo cli/cli
58       $ gh issue develop 123 --repo cli/cli --branch-repo monalisa/cli
59
60
61
62
63

SEE ALSO

65       gh-issue(1)
66
67
68
69                                   Nov 2023                GH-ISSUE-DEVELOP(1)
Impressum