GH-SECRET-REMOVE(1)
β¨ GH-SECRET-REMOVE β¨
okay bestie, welcome to the GitHub CLI manual π this one's gh-secret-remove, and yes it does exactly what it says on the tin: it removes secrets. bye bye secret, you will not be missed π«Ά
πΈ NAME πΈ
gh-secret-remove β remove secrets π
π SYNOPSIS π
gh secret remove <secret-name> [flags]
that's it. that's the whole vibe. you give it a secret name, you sprinkle flags, the secret is gone β¨
π¦ DESCRIPTION π¦
so like, secrets live at different levels, and you get to pick which one you're yeeting from π
- repository (the default, no cap) β available to Actions runs in a repository
- environment β available to Actions runs for a deployment environment in a repository
- organization β available to Actions runs within an organization
- user β available to Codespaces for your user
pick your level, name your secret, and let it go π§
π OPTIONS π
-e,--env <string>β remove a secret for an environment π±-o,--org <string>β remove a secret for an organization π’-u,--userβ remove a secret for your user π€
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β select another repository using the[HOST/]OWNER/REPOformat π
β SEE ALSO β
okay that's the whole page, you ate that π mwah π this was the GitHub CLI manual, dated Mar 2022 β love u, go remove some secrets responsibly, mwah π β¨
π¦ where this page comes from
- ubuntu jammy: gh 2.4.0+dfsg1-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms