git-branchless-reword(1)

git-branchless-reword1

Reword commits

Usage

reword [--hidden] [{-f | --force-rewrite}] [{-m | --message}] [--fixup] [{-d | --discard}] [{-h | --help}] [REVSETS]

Overview

Reword commits

Options

--hidden

Include hidden commits in the results of evaluating revset expressions

-f, --force-rewrite

Force rewording public commits, even though other people may have access to those commits

-m, --message <MESSAGES>

The commit message to use. Multiple messages will be combined as separate paragraphs, similar to `git commit`. If not provided, you will be prompted to provide a commit message interactively

--fixup <COMMIT_TO_FIXUP>

A commit to "fix up". The message will be prefixed with `fixup!` following the supplied commit, suitable for use with `git rebase --autosquash`

-d, --discard

Throw away the original commit messages.

If `commit.template` is set, then the editor is pre-populated with that; otherwise, the editor starts empty.

-h, --help

Print help (see a summary with '-h')

[REVSETS] [default: stack() | @]

Zero or more commits to reword

From git-branchless 0.11.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.