Skip to content

Commit 0bd5cd7

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#100364
Adding the below commit statements in Step#6(Deploy to the App Service) to commit the modified appsettings.json and Startup.cs files before pushing the code to app service. --------------- Before pushing your code to App Service you need to commit the changes in your local Git that were done in Step#5. git add <file-name> or git add . git commit -m "Updating the modified appsettings.json and Startup.cs files"
1 parent e0a83da commit 0bd5cd7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/app-service/includes/tutorial-dotnetcore-sqldb-app/deploy-local-git.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ Next, let's add an Azure origin to our local Git repo using the App Service Git
4141
```bash
4242
git remote add azure https://<your-app-name>.scm.azurewebsites.net/<your-app-name>.git
4343
```
44-
44+
Before pushing your code to App Service you need to commit the changes in your local Git that were done in Step#5.
45+
```bash
46+
git add <file-name> or git add .
47+
git commit -m "Updating the modified appsettings.json and Startup.cs files"
48+
```
4549
Finally, push your code using the correct origin and branch name.
4650

4751
```bash
4852
## Master is the default deployment branch for App Service - this will ensure our local main branch works for the deployment
4953
git push azure main:master
5054
```
5155

52-
Enter your password if you are prompted to do so. This command will take a moment to run as it deploys your app code to the Azure App Service.
56+
Enter your password if you are prompted to do so. This command will take a moment to run as it deploys your app code to the Azure App Service.

0 commit comments

Comments
 (0)