Reference

git-branchless-reword(1)

Reword commits

NAME

reword - Reword commits

SYNOPSIS

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

DESCRIPTION

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