Gh cli - как сделать репозиторий публичным - 2026

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2026
Перейти к:навигация, поиск




# gh repo edit ANTONREPO/sudoku_add_instance --visibility public --accept-visibility-change-consequences


Usage:  gh repo edit [<repository>] [flags]
Flags:
     --accept-visibility-change-consequences    Accept the consequences of changing the repository visibility
     --add-topic strings                        Add repository topic
     --allow-forking                            Allow forking of an organization repository
     --allow-update-branch                      Allow 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-merge                   Delete head branch when pull requests are merged
 -d, --description string                       Description of the repository
     --enable-advanced-security                 Enable advanced security in the repository
     --enable-auto-merge                        Enable auto-merge functionality
     --enable-discussions                       Enable discussions in the repository
     --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-secret-scanning                   Enable secret scanning in the repository
     --enable-secret-scanning-push-protection   Enable secret scanning push protection in the repository. Secret scanning must be enabled first
     --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 strings                     Remove repository topic
     --squash-merge-commit-message string       The default value for a squash merge commit message: {default|pr-title|pr-title-commits|pr-title-description}
     --template                                 Make the repository available as a template repository
     --visibility string                        Change the visibility of the repository to {public,private,internal}
×
Реклама
← В главную
ИКС 88x31 - Visitor counter