Skip to content

Commit e6db382

Browse files
committed
edits
1 parent 15a74ae commit e6db382

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

articles/api-management/api-management-configuration-repository-git.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: dlepow
66

77
ms.service: api-management
88
ms.topic: how-to
9-
ms.date: 07/28/2022
9+
ms.date: 08/05/2022
1010
ms.author: danlep
1111
---
1212
# How to save and configure your API Management service configuration using Git
@@ -127,20 +127,23 @@ Once the repository is cloned, you can view and work with it in your local file
127127

128128
## Update your local repository with the most current service instance configuration
129129

130-
If you make changes to your API Management service instance in the Azure portal or using other Azure tools, you must save these changes to the repository before you can update your local repository with the latest changes. To do this:
130+
If you make changes to your API Management service instance in the Azure portal or using other Azure tools, you must save these changes to the repository before you can update your local repository with the latest changes.
131131

132-
1. In the Azure portal, select **Save to repository** on the **Repository** tab for your API Management instance.
133-
1. In the folder for your local repository, issue the following command.
132+
To save changes using the Azure portal, select **Save to repository** on the **Repository** tab for your API Management instance.
134133

135-
```
136-
git pull
137-
```
134+
Then, to update your local repository:
138135

139-
Before running `git pull` ensure that you are in the folder for your local repository. If you've just completed the `git clone` command, then you must change the directory to your repo by running a command like the following.
136+
1. Ensure that you are in the folder for your local repository. If you've just completed the `git clone` command, then you must change the directory to your repo by running a command like the following.
140137

141-
```
142-
cd {name}.scm.azure-api.net/
143-
```
138+
```
139+
cd {name}.scm.azure-api.net/
140+
```
141+
142+
1. In the folder for your local repository, issue the following command.
143+
144+
```
145+
git pull
146+
```
144147
145148
## Push changes from your local repo to the server repo
146149
To push changes from your local repository to the server repository, you must commit your changes and then push them to the server repository. To commit your changes, open your Git command tool, switch to the directory of your local repository, and issue the following commands.
@@ -175,7 +178,7 @@ The files and folders in the local Git repository contain the configuration info
175178
| Item | Description |
176179
| --- | --- |
177180
| root api-management folder |Contains top-level configuration for the service instance |
178-
| apiReleases folder |Contains the configuration for the API revisions in the service instance |
181+
| apiReleases folder |Contains the configuration for the API releases in the service instance |
179182
| apis folder |Contains the configuration for the APIs in the service instance |
180183
| apiVersionSets folder |Contains the configuration for the API version sets in the service instance |
181184
| backends folder |Contains the configuration for the backend resources in the service instance |
@@ -286,7 +289,7 @@ The `portalStyles` folder contains configuration and style sheets for customizin
286289
* `portalStyles\<style name>.css` - Each `<style name>.css` file contains styles for the developer portal (`Preview.css` and `Production.css` by default).
287290

288291
### portalTemplates folder
289-
The `portalTemplates` folder contains templates for customizing the deprecated developer of the service instance.
292+
The `portalTemplates` folder contains templates for customizing the deprecated developer portal of the service instance.
290293

291294
* `portalTemplates\<template name>\configuration.json` - Configuration of the template.
292295
* `portalTemplates\<template name>\<page name>.html` - Original and modified HTML pages of the template.

0 commit comments

Comments
 (0)