logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Jeffrey Ryan Thalhammer <jeff@stratopan.com>

Command Arguments

       The arguments are the name of the stack and the id of the revision to reset to.  If the stack is not
       specified, then it defaults to whichever stack is currently marked as the default.  The stack can also be
       specified using the "--stack" option.  Some examples:

         pinto ... reset af01256e          # Reset default stack to revision af01256e
         pinto ... reset mystack af01256e  # Reset mystack to revision af0125e

Command Options

       --force
           Force  reset  even  if  the  revision is not actually an ancestor.  Normally, you can only reset to a
           revision that the stack has actually been at.

       --stack=NAME
       -s NAME
           Peform reset on the stack with the given NAME.  Defaults to the name of whichever stack is  currently
           marked  as  the  default  stack.   Use  the stacks command to see the stacks in the repository.  This
           option is silently ignored if the stack is specified as a command argument instead.

Description

       !! THIS COMMAND IS EXPERIMENTAL !!

       This command moves the head of the stack to a prior revision, thereby discarding subsequent revisions.
       See the revert command to restore the stack to a prior revision by creating a new revision.

Name

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

Synopsis

         pinto --root=REPOSITORY_ROOT reset [OPTIONS] REVISION

Version

       version 0.14

See Also