git: Use doc comments for `ResetMode` variants (#27882)

This PR updates the `ResetMode` enum to use doc comments for its
variants instead of line comments.

Release Notes:

- N/A
a1b53e91e7Marshall Bowers committed on 4/1/2025, 10:19:29 PM· committed by GitHubparent4a25251
1 file changedLine totals unavailable