glab(1)
π¦ glab(1) β glab-repo-archive π¦
β¨ NAME β¨
glab-repo-archive β Get an archive of the repository. That's the whole assignment, bestie. π
πΈ SYNOPSIS πΈ
glab repo archive [] [] [flags]
π DESCRIPTION π
No repository argument? It just archives the current repository. Iconic, low-effort, we love. π
The repository argument is chill with these shorthand references:
reponamespace/reponamespace/group/repo
The second argument sets the directory to download the archive into. So that's where your little zip baby goes. πΌβ¨
π₯ OPTIONS π₯
-f,--format="zip"β Optional. Specify format if you want a downloaded archive:tar.gz,tar.bz2,tbz,tbz2,tb2,bz2,tar,zip.-s,--sha=""β The commit SHA to download. A tag, branch reference, or SHA can be used. Defaults to the tip of the default branch if not specified.
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β Show help for this command.
π«Ά EXAMPLE π«Ά
glab repo archive profclems/glab
# Downloads zip file of current repository
glab repo archive
# Downloads repo zip file into mydirectory
glab repo archive profclems/glab mydirectory
# Finds repo for current user and download in ZIP format
glab repo archive profclems/glab --format=zip
π SEE ALSO π
π§ Auto generated byspf13/cobraΒ· Nov 2026 Β·glab(1)β bye bestie, go archive something iconic! π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms