1GH-LABEL-CLONE(1)              GitHub CLI manual             GH-LABEL-CLONE(1)
2
3
4

NAME

6       gh-label-clone - Clones labels from one repository to another
7
8
9

SYNOPSIS

11       gh label clone <source-repository> [flags]
12
13
14

DESCRIPTION

16       Clones  labels  from a source repository to a destination repository on
17       GitHub.  By default, the destination repository is the current  reposiā€
18       tory.
19
20
21       All labels from the source repository will be copied to the destination
22       repository. Labels in the destination repository that are  not  in  the
23       source repository will not be deleted or modified.
24
25
26       Labels from the source repository that already exist in the destination
27       repository will be skipped. You can overwrite existing  labels  in  the
28       destination repository using the --force flag.
29
30
31

OPTIONS

33       -f, --force
34              Overwrite labels in the destination repository
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              # clone and overwrite labels from cli/cli repository into the current repository
46              $ gh label clone cli/cli --force
47
48              # clone labels from cli/cli repository into a octocat/cli repository
49              $ gh label clone cli/cli --repo octocat/cli
50
51
52
53
54

SEE ALSO

56       gh-label(1)
57
58
59
60                                   Oct 2023                  GH-LABEL-CLONE(1)
Impressum