GitButler ⧓

Commands
>_

but reword

Edit the commit message of the specified commit.

You can easily change the commit message of any of your commits by running but reword <commit-id> and providing a new message in the editor.

This will rewrite the commit with the new message and then rebase any dependent commits on top of it.

You can also use but reword <branch-id> to rename the branch.

Usage: but reword <TARGET> [OPTIONS]

Arguments

  • <TARGET> — Commit ID to edit the message for, or branch ID to rename (required)

Options

  • -m, --message <MESSAGE> — The new commit message or branch name. If not provided, opens an editor
  • -f, --format — Format the existing commit message to 72-char line wrapping without opening an editor

Last updated on

On this page

Edit on GitHubGive us feedback