1App::Pinto::Command::reUsseetr(3C)ontributed Perl DocumeAnptpa:t:iPoinnto::Command::reset(3)
2
3
4

NAME

6       App::Pinto::Command::reset - reset stack to a prior revision
7

VERSION

9       version 0.14
10

SYNOPSIS

12         pinto --root=REPOSITORY_ROOT reset [OPTIONS] REVISION
13

DESCRIPTION

15       !! THIS COMMAND IS EXPERIMENTAL !!
16
17       This command moves the head of the stack to a prior revision, thereby
18       discarding subsequent revisions.  See the revert command to restore the
19       stack to a prior revision by creating a new revision.
20

COMMAND ARGUMENTS

22       The arguments are the name of the stack and the id of the revision to
23       reset to.  If the stack is not specified, then it defaults to whichever
24       stack is currently marked as the default.  The stack can also be
25       specified using the "--stack" option.  Some examples:
26
27         pinto ... reset af01256e          # Reset default stack to revision af01256e
28         pinto ... reset mystack af01256e  # Reset mystack to revision af0125e
29

COMMAND OPTIONS

31       --force
32           Force reset even if the revision is not actually an ancestor.
33           Normally, you can only reset to a revision that the stack has
34           actually been at.
35
36       --stack=NAME
37       -s NAME
38           Peform reset on the stack with the given NAME.  Defaults to the
39           name of whichever stack is currently marked as the default stack.
40           Use the stacks command to see the stacks in the repository.  This
41           option is silently ignored if the stack is specified as a command
42           argument instead.
43

AUTHOR

45       Jeffrey Ryan Thalhammer <jeff@stratopan.com>
46
48       This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
49
50       This is free software; you can redistribute it and/or modify it under
51       the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.30.1                      2020-01-30     App::Pinto::Command::reset(3)
Impressum