gh repo edit [repository]
Edit repository settings
Arguments
Name | Description |
---|---|
repository |
Options
Name | Description |
---|---|
--clone | Clone the fork {true|false} |
--add-topic <topic names> | Add repository topic |
--allow-forking | Allow forking of an organization repository |
--default-branch <branch name> | Set the default branch name for the repository |
--delete-branch-on-merge | Delete head branch when pull requests are merged |
-d, --description <description> | Description of the repository |
--enable-auto-merge | Enable auto-merge functionality |
--enable-issues | Enable issues in the repository |
--enable-merge-commit | Enable merging pull requests via merge commit |
--enable-projects | Enable projects in the repository |
--enable-rebase-merge | Enable merging pull requests via rebase |
--enable-squash-merge | Enable merging pull requests via squashed commit |
--enable-wiki | Enable wiki in the repository |
-h, --homepage <URL> | Repository home page URL |
--remove-topic <topic names> | Remove repository topic |
--template | Make the repository available as a template repository |
--visibility <string> | Change the visibility of the repository to {public,private,internal} |