Describe
Snapshot any repo's settings, security, labels, and rulesets into a single YAML file. One command: ghset describe owner/repo.
ghset is an open-source CLI tool that lets you copy GitHub repository settings from one repo to another — in one command:
ghset init my-new-repo --from owner/existing-repoThat single line creates my-new-repo and applies every setting, security toggle, label, and ruleset from the source. No clicking through the UI, no Terraform, no state files. Just init --from.
Need a portable snapshot first? ghset describe owner/repo > settings.yml exports everything to YAML. Edit it, commit it, apply it later with ghset init. GitHub repository settings as code — that's the idea.
Every existing tool for declarative GitHub settings is either dead, broken, or requires heavy infrastructure. GitHub template repos copy files — not settings, labels, rulesets, or security config. ghset fills the gap: a lightweight, pipe-friendly GitHub repository settings tool built around init --from — the fastest way to clone a repo's configuration.