git-gr-restack(1)
β¨ git-gr-restack (from the General Commands Manual, bestie) β¨
okay so real talk, this page is about git-gr-restack, and it lives in the General Commands Manual which is giving very much "the official one" energy π
. Buckle up, she's actually so simple it's iconic.
πΈ NAME πΈ
git-gr-restack β rebase each CL in a stack, ensuring it's up-to-date with its parent π«Ά
π¦ SYNOPSIS π¦
git-gr restack [-h|--help] [subcommands]
that's it, that's the whole vibe check πβ¨
π DESCRIPTION π
Rebase each CL in a stack, ensuring it's up-to-date with its parent. literally the entire personality of this command fr fr β she goes through your whole stack, every CL, and rebases them so nobody's out here being stale and behind their parent π
π OPTIONS π
-h,--helpβ prints the help. that's it. that's the option. she's helpful and she's holding the door open for you πͺβ¨
π SUBCOMMANDS π
these are the little side quests, and honestly each one ate:
git-gr-restack-this(1)β restacks only the CL you currently have checked out, and only on its immediate ancestor. like, just this one bestie, not the whole group chat πgit-gr-restack-continue(1)β picks up and continues a restack that's already in progress. no cap, she remembered where you left off πgit-gr-restack-abort(1)β nukes an in-progress restack. abort mission, we're out π¨πgit-gr-restack-push(1)β pushes the changes from a restack that's already completed. like, you did the work, now go be seen π₯π
ngl if you're mid-restack and you don't know whether to continue or abort, that's a whole mood β but those two subcommands are literally exactly for that, so go read their pages π§
and that's the page!! π she's short, she's sweet, she's restack, dated git-gr-restack(1) β mwah, go restack something gorgeous πβ¨π
π¦ where this page comes from
- nixos 26.05: git-gr 1.4.6
- nixpkgs unstable: git-gr 1.4.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms