GitButler ⧓

Commands

but squash

Squash two commits together.

Squash two commits together.

Squash two commits together.

Wrapper for but rub <commit1> <commit2>.

Usage: but squash <COMMIT1> <COMMIT2> [OPTIONS]

Arguments

  • <COMMIT1> — First commit ID (will be squashed into the second) (required)
  • <COMMIT2> — Second commit ID (target commit) (required)

Options

  • -d, --drop-message — Drop the first commit's message and keep only the second commit's message

Last updated on

On this page

Edit on GitHubGive us feedback