glab-repo-archive - Man Page

Get an archive of the repository.

Synopsis

glab repo archive  [flags]

Description

Clone supports these shorthands

Options

-f, --format="zip" Optionally 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. This defaults to the tip of the default branch if not specified

Options Inherited from Parent Commands

--help[=false] Show help for command

Example

glab repo archive profclems/glab
glab repo archive  # Downloads zip file of current repository
glab repo archive profclems/glab mydirectory  # Downloads repo zip file into mydirectory
glab repo archive profclems/glab --format=zip   # Finds repo for current user and download in zip format

See Also

glab-repo(1)

Referenced By

glab-repo(1).

Apr 2024 Auto generated by spf13/cobra