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

FreeBSD Manual Pages

  
 
  

home | help
GCLOUD_SOURCE_REPOS_CLONE(1)General Commands ManuaGCLOUD_SOURCE_REPOS_CLONE(1)

NAME
       gcloud source repos clone - clone project git repository	in the current
	      directory

SYNOPSIS
       gcloud source repos clone REPOSITORY_NAME [DIRECTORY_NAME]  [--dry-run]
	      [GLOBAL-FLAG ...]

DESCRIPTION
       This  command  clones  git  repository  for the currently active	Google
       Cloud Platform project into the specified folder	in the current	direc-
       tory.

POSITIONAL ARGUMENTS
       REPOSITORY_NAME
	 Name  of  the repository. Note: Google	Cloud Platform projects	gener-
	 ally have (if created)	a repository named "default"

       [DIRECTORY_NAME]
	 Directory name	for the	cloned repo. Defaults to the repository	name.

FLAGS
       --dry-run
	 If provided, prints the command that would be run to standard out in-
	 stead of executing it.

GLOBAL FLAGS
       Run $ gcloud help for a description of flags available to all commands.

EXAMPLES
       To  use	the  default  Google Cloud repository for development, use the
       following commands. We recommend	that you use your project name as TAR-
       GET_DIR	to make	it apparent which directory is used for	which project.
       We also recommend to clone the repository named 'default' since	it  is
       automatically created for each project, and its contents	can be browsed
       and edited in the Developers Console.

	 $ gcloud init $ gcloud	source repos clone  default  TARGET_DIR	 $  cd
	 TARGET_DIR $ git push origin master

						  GCLOUD_SOURCE_REPOS_CLONE(1)

NAME | SYNOPSIS | DESCRIPTION | POSITIONAL ARGUMENTS | FLAGS | GLOBAL FLAGS | EXAMPLES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=gcloud_source_repos_clone&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help