GH-REPO-ARCHIVE(1)

πŸŽ€ NAME πŸŽ€

okay so bestie, this is GH-REPO-ARCHIVE(1) straight from the GitHub CLI manual, and it is lowkey iconic. The name says it all: gh-repo-archive β€” Archive a repository ✨.

πŸ¦‹ SYNOPSIS πŸ¦‹

gh repo archive [<repository>] [flags]

🌸 DESCRIPTION 🌸

This command archives a GitHub repository. That’s the whole vibe, no cap. 🫢

With no argument, it archives the current repository β€” it just knows where it is, bestie. Convenient and honestly kind of main character energy. πŸ’…

πŸ’– OPTIONS πŸ’–

  • -y, --yes β€” skip the confirmation prompt. Say yes upfront and let it cook. βœ…

πŸ‘‘ EXIT CODES πŸ‘‘

  • 0 β€” Successful execution. Slay. πŸŽ‰
  • 1 β€” Error. 😭
  • 2 β€” Command canceled. πŸ™ˆ
  • 4 β€” Authentication required. πŸ”
NOTE: Specific commands may have additional exit codes. Refer to the command’s help for more information. 🧚

🌈 SEE ALSO 🌈

  • gh-repo(1) β€” go peek at the main repo command, iykyk. πŸ’œ

mwah πŸ’‹ GH-REPO-ARCHIVE(1) is brought to you by GitHub CLI v2.102.0, dated Oct 2026 β€” iconic manual behavior, fr fr. πŸŽ€βœ¨

πŸ“¦ where this page comes from