gh repo edit owner/repo --description 'CLI tool' --homepage https://example.com

Category: GitHub CLI

gh repo edit owner/repo --description 'CLI tool' --homepage https://example.com

Edit repo description and homepage

Updates the repository's description and homepage URL in one call, both of which appear on the repo's public page. The --repo flag can target any repo you can write to. Other editable fields include topics, visibility, and merge settings.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.