Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Commit 10ed910

Browse files
authored
Merge pull request #313 from autosysops/Fix-Lab-02-comment
Update AZ400_M01_L02_Version_Controlling_with_Git_in_Azure_Repos.md
2 parents 86682ab + 899dcdf commit 10ed910

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Instructions/Labs/AZ400_M01_L02_Version_Controlling_with_Git_in_Azure_Repos.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,12 @@ In this task, you will use the Azure DevOps portal to review commits.
176176
In this task, you will explore the use of staging changes by using Visual Studio Code. Staging changes allows you to selectively add certain files to a commit while passing over the changes made in other files.
177177
178178
1. Switch back to the **Visual Studio Code** window.
179-
1. Update the open **CartItem.cs** class by changing the first comment to `//My second change` and saving the file.
179+
1. Update the open **CartItem.cs** class by changing the first comment the following, and saving the file.
180+
181+
```csharp
182+
//My second change
183+
```
184+
180185
1. In the Visual Studio Code window, switch back the **EXPLORER** tab, navigate to the **/PartsUnlimited-aspnet45/src/PartsUnlimitedWebsite/Models/Category.cs** file and select it. This will automatically display its content in the details pane.
181186
1. Add to the **Category.cs** file right above the `public int CategoryId { get; set; }` entry an extra line containing the following comment and save the file.
182187

0 commit comments

Comments
 (0)