Skip to content

Commit f2c4e76

Browse files
Merge pull request #13490 from MicrosoftDocs/ghogen-patch-87
Add info about when Revert might be disabled
2 parents ecaaf30 + 0c3d0f2 commit f2c4e76

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)