App::P...:reset(3pm)
β¨ App::Pinto::Command::reset β¨
okay bestie, gather round, because we're talking about App::Pinto::Command::reset β the User Contributed Perl Documentation page that lets you rewind time on your stack π
(yes, that's the manual name, we're keeping it, it's part of the family now).
VERSION: version 0.14 π
π SYNOPSIS π
pinto --root=REPOSITORY_ROOT reset [OPTIONS] REVISION
that's it. that's the whole vibe check. π₯
π DESCRIPTION π
!! THIS COMMAND IS EXPERIMENTAL !! π
not me warning you first thing. but fr fr, heads up: this is experimental, so be a little brave about it.
so what does it do? it moves the head of the stack to a prior revision, which means β and I need you to sit down for this β it discards all the subsequent revisions. like, gone. poof. π
if that sounds a lil too permanent for your delicate little heart, there's a whole other command for you: check out revert, which restores the stack to a prior revision by creating a new revision instead. same destination, way less chaos energy. pick your fighter π«Ά
πΈ COMMAND ARGUMENTS πΈ
so the arguments here are the name of the stack and the id of the revision you wanna reset to. iconic duo.
if you don't specify the stack, it just defaults to whichever stack is currently marked as the default. easy. you can also specify the stack using the --stack option instead (more on that below π). some examples, because we love examples:
pinto ... reset af01256e # Reset default stack to revision af01256e
pinto ... reset mystack af01256e # Reset mystack to revision af0125e
see how the first one skips the stack name and just goes straight for the revision? that's the default-stack life. β¨
π¦ COMMAND OPTIONS π¦
--forceβ forces the 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, so this one is for when you're feeling spicy and want to bend the rules. π₯--stack=NAME,-s NAMEβ perform the reset on the stack with the given NAME. it defaults to the name of whichever stack is currently marked as the default stack. wanna see what stacks even exist in your repository? run thestackscommand, bestie, it's right there. π
lowkey important: this option is silently ignored if the stack is specified as a command argument instead. so if you pass a stack name and use --stack, the argument wins and nobody tells you. no cap. π
π AUTHOR π
Jeffrey Ryan Thalhammer <jeff@stratopan.com>
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2015 by Jeffrey Ryan Thalhammer.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π
and that's the whole page, bestie!! go forth and reset responsibly, and remember β this came to you courtesy of perl v5.40.1, dated 2025-04-21, from the App::Pinto::Command::reset manual page (3pm section). mwah πβ¨π¦
π¦ where this page comes from
- debian trixie: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: pinto 0.14000-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms