gh repo edit [repository]

Edit repository settings

Arguments

NameDescription
repository

Options

NameDescription
--cloneClone the fork {true|false}
--add-topic <topic names>Add repository topic
--allow-forkingAllow forking of an organization repository
--default-branch <branch name>Set the default branch name for the repository
--delete-branch-on-mergeDelete head branch when pull requests are merged
-d, --description <description>Description of the repository
--enable-auto-mergeEnable auto-merge functionality
--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 <topic names>Remove repository topic
--templateMake the repository available as a template repository
--visibility <string>Change the visibility of the repository to {public,private,internal}