git-branchless-reword(1)
π NAME π
okay so bestie, welcome to git-branchless-reword(1) from the General Commands Manual β the main character is reword, and its whole thing is rewording commits. no cap, that's the name-section moment β¨
π SYNOPSIS π
reword [--hidden] [-f|--force-rewrite] [-m|--message] [--fixup]
[-d|--discard] [-h|--help] [REVSETS]
πΈ DESCRIPTION πΈ
reword rewords commits. that's it, that's the description, and honestly it's giving exactly what it says on the tin π«Ά
β¨ OPTIONS β¨
--hiddenβ include hidden commits in the results of evaluating revset expressions. lowkey essential when the commit you want is being shy π-f,--force-rewriteβ force rewording public commits, even though other people may have access to those commits. bestie, this is the shared-history danger zone, so read that twice before you slay π-m,--message <MESSAGES>β the commit message to use. multiple messages will be combined as separate paragraphs, similar togit commit. if not provided, you will be prompted to provide a commit message interactively. put those paragraphs in and let it cook π--fixup <COMMIT_TO_FIXUP>β a commit to "fix up". the message will be prefixed withfixup!following the supplied commit, suitable for use withgit rebase --autosquash. this is the autosquash-friendly one, iykyk π₯-d,--discardβ throw away the original commit messages. ifcommit.templateis set, then the editor is pre-populated with that; otherwise, the editor starts empty. clean-slate energy, but literally π§-h,--helpβ print help (see a summary with-h). yes bestie, the help option is helping you get help π[REVSETS][default:stack() | @] β zero or more commits to reword. default isstack() | @, because of course it is π
that's the tea, bestie π source/manual: git-branchless-reword(1); version/date: not listed in the footer, so this is the cute sign-off instead πβ¨
π¦ where this page comes from
- arch rolling: git-branchless 0.11.1-2 Β· Apache-2.0 AND MIT
- nixpkgs unstable: git-branchless 0.11.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms