]> git.99rst.org Git - git.git/commit
doc: git-reset: reorder the forms
authorJulia Evans <redacted>
Mon, 5 Jan 2026 21:48:15 +0000 (16:48 -0500)
committerJunio C Hamano <redacted>
Mon, 5 Jan 2026 23:10:13 +0000 (08:10 +0900)
commitb767867fae892f15cdfd1466983fe4be46014a36
tree15ef143a315aba23e1cb94d0e214dce37bb81b4c
parentf229982df19c327876ce7ded40f6efefe20da5d4
doc: git-reset: reorder the forms

From user feedback: three users commented that the `git reset [mode]`
form is the one that they primarily use, and that they were suprised to
see it listed last.
("I've never used git reset in any mode other than --hard").

Move it to be first, since the `git reset [mode]` form is what
"Reset current HEAD to the specified state" at the beginning refers
to, and because the `git reset [mode]` form is the only thing that
`git reset` uniquely does, the others could also be done with
`git restore`.

Signed-off-by: Julia Evans <redacted>
Signed-off-by: Junio C Hamano <redacted>
Signed-off-by: D. Ben Knoble <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/git-reset.adoc
git clone https://git.99rst.org/PROJECT