GitButler ⧓

Commands
>_

but amend

Amend one or more file changes into a specific commit and rebases any dependent commits.

Use but amend <commit> --changes <file-or-hunk>[,<file-or-hunk>...].

Usage: but amend <TARGET_OR_SOURCE> [OPTIONS]

Arguments

  • <TARGET_OR_SOURCE> — Commit ID to amend into.

In the legacy two-positional form, this can be the source ID. (required)

Options

  • -p, --changes <CHANGES> — Uncommitted file or hunk CLI IDs to amend into the commit.

Can be specified multiple times or as comma-separated values.

Last updated on

On this page

Edit on GitHubGive us feedback