GH-REPO-UNARCHIVE(1)
π gh-repo-unarchive β bestie edition β¨
okay so real talk, this is the gh repo unarchive page from the GitHub CLI manual, and honestly? It's a little one. A tiny icon. But she does exactly one thing and she does it flawlessly. π
πΈ NAME πΈ
gh-repo-unarchive β unarchive a repository π
like, un-archive. the opposite of archive. she's bringing your repo back from the shadow realm, no cap. π¦
β¨ SYNOPSIS β¨
gh repo unarchive [<repository>] [flags]
so it's the command, then optionally a <repository> in square brackets (meaning it's optional, bestie, not that you type the brackets π), then your [flags]. that's it. that's the whole vibe check. β
π«Ά DESCRIPTION π«Ά
Unarchive a GitHub repository.
that's the mission. that's the whole plot. your repo was archived, you want it un-archived, and this is the girl for the job. π
With no argument, unarchives the current repository.
this is the good part β if you just run it with nothing else, she looks around, goes "oh, we're in a repo already?", and unarchives that one. main character energy fr fr. no need to spell out the name if you're already standing in it. π
π OPTIONS π
-y,--yesβ Skip the confirmation prompt. so instead of her going "are you SURE bestie?? π₯Ί" and making you type yes, you just say-yand she goes. iconic. lowkey dangerous if you're the type to mash keys, but slay. π₯
π§ EXIT CODES π§
the way she tells you exactly how it went, we love an honest queen:
0β Successful execution π (ate, no crumbs)1β Error π (something went sideways)2β Command canceled π (you backed out, it happens)4β Authentication required π (she doesn't know you like that yet β go log in)
NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. π like, these are the general ones, but if you need the full tea on a particular command, check its help. iykyk.
π SEE ALSO π
gh-repo(1)β the whole repo command family, if you wanna hang out with the rest of the girls π«Ά
mwah π that's the page!! brought to you by GitHub CLI v2.102.0, dated Oct 2026, and she is literally perfect, don't @ me. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms