···2828See "Reset, restore and revert" in linkgit:git[1] for the differences
2929between the three commands.
30303131-THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
3232-3331OPTIONS
3432-------
3533`-s <tree>`::
-2
Documentation/git-switch.adoc
···2929however if the operation leads to loss of local changes, unless told
3030otherwise with `--discard-changes` or `--merge`.
31313232-THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
3333-3432OPTIONS
3533-------
3634_<branch>_::