Skip to content

Commit 1c2e888

Browse files
committed
Add sentence about toggling the staging controls
1 parent a833b57 commit 1c2e888

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/version-control/git-line-staging.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ ms.topic: concept-article
77
author: ghogen
88
ms.author: ghogen
99
ms.manager: mijacobs
10-
1110
ms.subservice: general-ide
1211
monikerRange: vs-2022
1312

@@ -78,6 +77,8 @@ You can stage any chunk of code by using the Peek Difference UI. Hover over the
7877
>
7978
> :::image type="content" source="media/vs-2022/git-stage-change-difference.png" border="false" alt-text="Screenshot of the Stage Change difference view in Visual Studio 2022." lightbox="media/vs-2022/git-stage-change-difference.png":::
8079
80+
You can enable or disable the staging controls in the difference view by clicking the **Show staging controls** button.
81+
8182
## Commit staged changes
8283

8384
After you prepare your commit by reviewing and staging the desired changes, you can create your commit by using the **Git Changes** window. Enter a commit message and select **Commit Staged** to complete the process:

0 commit comments

Comments
 (0)