< Back
Get-AzDoGitRepoBranches
Post
NAME Get-AzDoGitRepoBranches
SYNOPSIS
Retrive branch information from the specified git repository
SYNTAX
Get-AzDoGitRepoBranches [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-Name <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Get-AzDoGitRepoBranches [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-Id <Guid>] [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
The command will retrieve a list of all branches from the specified git repository
PARAMETERS
-AzDoConnection <AzDoConnectObject>
Common Parameters
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApiVersion <String>
Allows for specifying a specific version of the api to use (default is 5.0)
Required? false
Position? named
Default value $global:AzDoApiVersion
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the git repository
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <Guid>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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 --------------------------
Get-AzDoGitRepoBranches -Name <git repo name>
RELATED LINKS
https://github.com/ravensorb/Posh-AzureDevOps
SYNOPSIS
Retrive branch information from the specified git repository
SYNTAX
Get-AzDoGitRepoBranches [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-Name <String>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Get-AzDoGitRepoBranches [-AzDoConnection <AzDoConnectObject>] [-ApiVersion <String>] [-Id <Guid>] [-WhatIf]
[-Confirm] [<CommonParameters>]
DESCRIPTION
The command will retrieve a list of all branches from the specified git repository
PARAMETERS
-AzDoConnection <AzDoConnectObject>
Common Parameters
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-ApiVersion <String>
Allows for specifying a specific version of the api to use (default is 5.0)
Required? false
Position? named
Default value $global:AzDoApiVersion
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
The name of the git repository
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Id <Guid>
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf [<SwitchParameter>]
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Confirm [<SwitchParameter>]
Required? false
Position? named
Default value
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 --------------------------
Get-AzDoGitRepoBranches -Name <git repo name>
RELATED LINKS
https://github.com/ravensorb/Posh-AzureDevOps