Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
glab(1)								       glab(1)

NAME
       glab-repo-archive - Get an archive of the repository.

SYNOPSIS
       glab repo archive  [flags]

DESCRIPTION
       Clone supports these shorthands

	      	repo

	      	namespace/repo

	      	namespace/group/repo

OPTIONS
       -f,  --format="zip"	 Optionally Specify format if you want a down-
       loaded 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)

Auto generated by spf13/cobra	   Apr 2025			       glab(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=glab-repo-archive&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help