Skip to content

Commit 1ac3f78

Browse files
authored
Add info about when Revert might be disabled
1 parent 5195fa4 commit 1ac3f78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/version-control/git-manage-repository.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ Select the new commit to confirm that it undoes the changes of the reverted comm
142142

143143
:::image type="content" source="media/vs-2022/git-repository-revert-confirmation.png" alt-text="Screenshot of confirming a revert operation." lightbox="media/vs-2022/git-repository-revert-confirmation.png":::
144144

145+
The **Revert** menu item might be grayed out (disabled) in certain circumstances, such as for merge commits or when a git operation is running.
146+
145147
To learn more about reverting changes, see the [Git webpage for the revert command](https://git-scm.com/docs/git-revert).
146148

147149
## Reset a branch to a previous state

0 commit comments

Comments
 (0)