glab-repo-archive - Get an archive of the repository.
Contents
Description
Clone supports these shorthand references:
• repo
• namespace/repo
• namespace/group/repo
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
Name
glab-repo-archive - Get an archive of the repository.
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
--help[=false] Show help for this command.
See Also
glab-repo(1) Auto generated by spf13/cobra Nov 2024 glab(1)
Synopsis
glabrepoarchive[flags]
