Update-AzureWebsiteRepository

Update the remote repositories of a local git repository for all the slots

Syntax

Update-AzureWebsiteRepository [[-Name] <String>] -PublishingUsername <String> [-Confirm]
 [-Profile <AzureSMProfile>] [-WhatIf] [<CommonParameters>]

Description

Update the remote repositories of a local git repository for all the slots

Examples

-------------- Update Website Remote Repositories --------------

C:\PS>Update-AzureWebsiteRepository -Name MyWebsite

Updates the remote repositories of a local git repository for all the slots for website MyWebsite

Parameters

-Name

The name of the website

Type:String
Required:False
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PublishingUsername

The username you have specified in the Microsoft Azure Portal for Git deployment

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Profile

In-memory profile.

Type:AzureSMProfile
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False