You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dictionary/command/revert.lcdoc
+23-7Lines changed: 23 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,10 @@ Name: revert
2
2
3
3
Type: command
4
4
5
-
Syntax: revert
5
+
Syntax: revert [<targetStack>]
6
6
7
-
Summary: Restores the <current stack> to its state when last saved, deleting all changes made since the last save.
7
+
Summary: Restores a stack to its state when last saved, deleting all
8
+
changes made since the last save.
8
9
9
10
Introduced: 1.0
10
11
@@ -16,13 +17,28 @@ Example:
16
17
revert
17
18
18
19
Example:
19
-
if it is "Don't Save" then revert
20
+
revert stack "MyStack"
20
21
21
-
Description:
22
-
Use the <revert> <command> to back out of any changes made to the <current stack> since the last save.
22
+
Parameters:
23
23
24
-
The <revert> <command> also <undo|undoes> changes made to other <stacks> stored in the same <stack file>. That is, if you <revert> a <main stack>, all <substacks> of that <stack> also revert to the last save, and if you revert a <substack>, its <main stack> and any other <substacks> also revert.
0 commit comments