Skip to content

Commit 5e681b2

Browse files
committed
few more touchups
1 parent 94e5bf1 commit 5e681b2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/app-service/deploy-local-git.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy From a Local Git Repository
33
description: Learn how to configure and carry out local Git deployment to Azure App Service.
44
ms.topic: how-to
5-
ms.date: 06/24/2025
5+
ms.date: 06/26/2025
66
ms.reviewer: dariac
77
ms.custom: devx-track-azurecli, devx-track-azurepowershell
88
author: cephalin
@@ -28,16 +28,16 @@ To complete the steps in this article, you need:
2828
git clone https://github.com/Azure-Samples/nodejs-docs-hello-world.git
2929
```
3030

31-
- If you want to use the Azure CLI commands, you need the latest version of the [Azure CLI installed](/cli/azure/install-azure-cli) on your local machine. Sign in to Azure using [az login](/cli/azure/reference-index#az-login).
32-
- If you want to run the Azure PowerShell commands, you need the latest version of [Azure PowerShell installed](/powershell/azure/install-azure-powershell). Sign in to Azure using [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount).
31+
- If you want to use the Azure CLI commands, the latest version of the [Azure CLI installed](/cli/azure/install-azure-cli) on your local machine. Sign in to Azure using [az login](/cli/azure/reference-index#az-login).
32+
- If you want to run the Azure PowerShell commands, the latest version of [Azure PowerShell installed](/powershell/azure/install-azure-powershell). Sign in to Azure using [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount).
3333

3434
[!INCLUDE [Prepare repository](../../includes/app-service-deploy-prepare-repo.md)]
3535

3636
### Deployment user credentials
3737

38-
You need deployment user credentials to authenticate and deploy your app. These are different from your Azure subscription credentials, and you can use either [user-scope](deploy-configure-credentials.md#userscope) or [application-scope](deploy-configure-credentials.md#appscope) credentials.
38+
To authenticate and deploy your app, you need deployment user credentials. These are different from your Azure subscription credentials, and you can use either [user-scope](deploy-configure-credentials.md#userscope) or [application-scope](deploy-configure-credentials.md#appscope) credentials.
3939

40-
A user-scope deployment user for local Git deployment only needs a user name, not a password. You can create the user-scope user name by running the Azure CLI command `az webapp deployment user set --user-name <username>`, or under **User-scope** on the **Local Git/FTPS credentials** tab of an app's **Deployment Center**.
40+
A user-scope deployment user for local Git deployment only needs a user name, not a password. You can set the user-scope user name by running the Azure CLI command `az webapp deployment user set --user-name <username>`, or under **User-scope** on the **Local Git/FTPS credentials** tab of an app's **Deployment Center**.
4141

4242
Once you create your user-scope deployment user, you can use it for all the App Service apps you have access to. For more information, see [Configure user-scope credentials](deploy-configure-credentials.md#userscope).
4343

@@ -66,7 +66,7 @@ Either command produces output that includes a URL, such as:
6666
```output
6767
Local git is configured with url of 'https://[email protected]/myApp.git'
6868
```
69-
The preceding URL contains the user-scope deployment user name `contoso-user`. If you don't have a user-scope deployment user name, the URL uses the [application-scope user name](deploy-configure-credentials.md#appscope), for example `https://[email protected]/myApp.git`.
69+
The preceding URL contains the [user-scope deployment user name](deploy-configure-credentials.md#userscope) `contoso-user`. If you don't have a user-scope deployment user name, the URL uses the [application-scope user name](deploy-configure-credentials.md#appscope), for example `https://[email protected]/myApp.git`.
7070

7171
Use this Git clone URL to deploy your app in the next step.
7272

@@ -81,7 +81,7 @@ Use this Git clone URL to deploy your app in the next step.
8181

8282
When you run this cmdlet from a directory that's a Git repository, it automatically creates a Git remote repository named `azure` for your App Service app.
8383

84-
1. Run the [Set-AzResource](/powershell/module/az.resources/set-azresource) cmdlet to set the `scmType` of your new or preexisting app, for example:
84+
1. For your new or preexisting app, run the [Set-AzResource](/powershell/module/az.resources/set-azresource) cmdlet to set the `scmType` to `LocalGit`. For example:
8585

8686
```azurepowershell
8787
$PropertiesObject = @{
@@ -132,7 +132,7 @@ If you used Azure PowerShell `New-AzWebApp` to create the app from the sample co
132132
<a name="change-deployment-branch"></a>
133133
### Push to the correct branch
134134

135-
App Service repositories deploy files to the `master` branch by default. If your local files are in the `master` branch of your repository, you can now deploy your app by running `git push azure master`.
135+
App Service repositories deploy files to the `master` branch by default. If your preexisting local files are in the `master` branch of your repository, you can now deploy your app by running `git push azure master`.
136136

137137
However, many Git repositories, including the sample code repository for this article, use `main` or another default branch name. To deploy to the correct branch, you must either explicitly deploy to the remote `master` branch, or change the deployment branch to `main` or other branch name and deploy to that branch.
138138

0 commit comments

Comments
 (0)