< Back

Get-Repos

Mon Jan 13, 2020 8:32 pm

NAME Get-Repos



SYNOPSIS

Gets a list of all the known repositories available for a certain hosting service.





SYNTAX

Get-Repos [[-Service] <String>] [[-Path] <String>] [<CommonParameters>]





DESCRIPTION

Lists all of the repositories for a given service for which you have local copies. These repositories

may then be used to perform bulk operations, searches and more. In addition to this, the data reported

by this command will be used for autocompletion of repository names in commands like Get-Repo, Get-RepoInfo,

Open-Repo and more.





PARAMETERS

-Service <String>

The remote hosting provider for the repositories in question.



Required? false

Position? 1

Default value $GitTool.Service

Accept pipeline input? false

Accept wildcard characters? false



-Path <String>

The directory within which all of your repositories are stored. Defaults to the value of $GitTool.Directory

if not specified.



Required? false

Position? 2

Default value $GitTool.Directory

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-Repos



SierraSoftworks/bender

SierraSoftworks/git-tool

SierraSoftworks/iridium

SierraSoftworks/sentry-go

SierraSoftworks/vue-template











RELATED LINKS

Get-Repo

Get-RepoInfo

Open-Repo