gh-repo-edit - Edit repository settings
gh repo edit [<repository>] [flags]
Edit repository settings.
To toggle a setting off, use the --flag=false syntax.
--add-topic <strings>Add repository topic
--allow-forkingAllow forking of an organization repository
--allow-update-branchAllow a pull request head branch that is behind its base branch to be updated
--default-branch <name>Set the default branch name for the repository
--delete-branch-on-mergeDelete head branch when pull requests are merged
-d, --description <string>Description of the repository
--enable-auto-mergeEnable auto-merge functionality
--enable-discussionsEnable discussions in the repository
--enable-issuesEnable issues in the repository
--enable-merge-commitEnable merging pull requests via merge commit
--enable-projectsEnable projects in the repository
--enable-rebase-mergeEnable merging pull requests via rebase
--enable-squash-mergeEnable merging pull requests via squashed commit
--enable-wikiEnable wiki in the repository
-h, --homepage <URL>Repository home page URL
--remove-topic <strings>Remove repository topic
--templateMake the repository available as a template repository
--visibility <string>Change the visibility of the repository to {public,private,internal}
# enable issues and wiki gh repo edit --enable-issues --enable-wiki # disable projects gh repo edit --enable-projects=false
gh-repo(1)