You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/version-control/git-line-staging.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@ ms.topic: concept-article
7
7
author: ghogen
8
8
ms.author: ghogen
9
9
ms.manager: mijacobs
10
-
11
10
ms.subservice: general-ide
12
11
monikerRange: vs-2022
13
12
@@ -78,6 +77,8 @@ You can stage any chunk of code by using the Peek Difference UI. Hover over the
78
77
>
79
78
> :::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":::
80
79
80
+
You can enable or disable the staging controls in the difference view by clicking the **Show staging controls** button.
81
+
81
82
## Commit staged changes
82
83
83
84
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