GitButler ⧓

Commands
>_

but diff

Displays the diff of changes in the repo.

Without any arguments, it shows the diff of all uncommitted changes. Optionally, provide one CLI ID to show the diff specific to:

  • an uncommitted file
  • a branch
  • an entire stack
  • a commit
  • a file change within a commit

TARGET accepts at most one entity. To show several entities, run this command once per entity.

Usage: but diff [TARGET] [OPTIONS]

Arguments

  • <TARGET> — The CLI ID of one entity to show the diff for

Options

  • --tui — Open an interactive TUI diff viewer
  • --no-tui — Disable the interactive TUI diff viewer (overrides but.ui.tui config)

Last updated on

On this page

Edit on GitHubGive us feedback