Skip to content

Commit 4e43b7f

Browse files
pcloudsgitster
authored andcommitted
Declare both git-switch and git-restore experimental
These two commands are basically redesigned git-checkout. We will not have that many opportunities to redo (because we run out of verbs, and that would also increase maintenance cost). To play it safe, let's declare the two commands experimental in one or two releases. If there is a serious flaw in the UI, we could still fix it. If everything goes well and nobody complains loudly, we can remove the experimental status by reverting this patch. Signed-off-by: Nguyễn Thái Ngọc Duy <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1235875 commit 4e43b7f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Documentation/git-restore.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ commit as the restore source.
2828
See "Reset, restore and revert" in linkgit:git[1] for the differences
2929
between the three commands.
3030

31+
THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
32+
3133
OPTIONS
3234
-------
3335
-s <tree>::

Documentation/git-switch.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Switching branches does not require a clean index and working tree
2929
however if the operation leads to loss of local changes, unless told
3030
otherwise with `--discard-changes` or `--merge`.
3131

32+
THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.
33+
3234
OPTIONS
3335
-------
3436
<branch>::

0 commit comments

Comments
 (0)