< Back

New-AzDoGitRepository

Sat Jan 11, 2020 8:37 am

NAME New-AzDoGitRepository



SYNOPSIS

Creates a new Git repository for the specified Azure DevOps project.





SYNTAX

New-AzDoGitRepository [-Name] <String> [-ProjectId] <String> [[-APIVersion] <String>] [<CommonParameters>]





DESCRIPTION

Creates a new Git repository for the specified Azure DevOps project.





PARAMETERS

-Name <String>

Specifies the name of the Git repository to be created.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ProjectId <String>

Specifies the Azure DevOps project (as a GUID).



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-APIVersion <String>

Specifies the API version which is used to query the Azure DevOps API.



Required? false

Position? 3

Default value 5.0-preview.1

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:\\>New-AzDoGitRepository -Name "nft" -ProjectId "0bad119f-011c-46f5-9861-557462ebf8fa"















RELATED LINKS