1GH-REPO-EDIT(1)                GitHub CLI manual               GH-REPO-EDIT(1)
2
3
4

NAME

6       gh-repo-edit - Edit repository settings
7
8
9

SYNOPSIS

11       gh repo edit [<repository>] [flags]
12
13
14

DESCRIPTION

16       Edit repository settings.
17
18
19       To toggle a setting off, use the --flag=false syntax.
20
21
22

OPTIONS

24       --add-topic <strings>
25              Add repository topic
26
27
28       --allow-forking
29              Allow forking of an organization repository
30
31
32       --default-branch <name>
33              Set the default branch name for the repository
34
35
36       --delete-branch-on-merge
37              Delete head branch when pull requests are merged
38
39
40       -d, --description <string>
41              Description of the repository
42
43
44       --enable-auto-merge
45              Enable auto-merge functionality
46
47
48       --enable-issues
49              Enable issues in the repository
50
51
52       --enable-merge-commit
53              Enable merging pull requests via merge commit
54
55
56       --enable-projects
57              Enable projects in the repository
58
59
60       --enable-rebase-merge
61              Enable merging pull requests via rebase
62
63
64       --enable-squash-merge
65              Enable merging pull requests via squashed commit
66
67
68       --enable-wiki
69              Enable wiki in the repository
70
71
72       -h, --homepage <URL>
73              Repository home page URL
74
75
76       --remove-topic <strings>
77              Remove repository topic
78
79
80       --template
81              Make the repository available as a template repository
82
83
84       --visibility <string>
85              Change  the  visibility of the repository to {public,private,in‐
86              ternal}
87
88
89

EXAMPLE

91              # enable issues and wiki
92              gh repo edit --enable-issues --enable-wiki
93
94              # disable projects
95              gh repo edit --enable-projects=false
96
97
98
99
100

SEE ALSO

102       gh-repo(1)
103
104
105
106                                   Jun 2022                    GH-REPO-EDIT(1)
Impressum