GitButler ⧓

Commands
>_

Commands Overview

Your fast index to all of the available commands

Command Reference

Basics

  • setup: Setup a Git repository to be managed by GitButler
  • teardown: Go back to vanilla Git branch management

Inspection

  • status: Overview of the uncommitted changes in the repository
  • diff: Show a diff of what's changed
  • show: Show information about a branch or commit

Branching and Committing

  • commit: Create commits on your branches
  • stage: Stage changes to a branch
  • branch: Commands for managing branches
  • discard: Remove changes
  • resolve: Resolve commit conflicts
  • merge: Local branch merging

Rules

  • mark: Create or remove a rule for auto-assigning or auto-committing
  • unmark: Remove all marks from the workspace

Server Interactions

  • push: Push a branch/stack to remote
  • pull: Pull upstream changes and update your branches
  • pr: Commands for interacting with forges like GitHub, GitLab, etc.

Editing Commits

  • rub: Combine two entities together to perform an operation
  • absorb: Absorb changes into existing commits
  • reword: Edit the commit message of a specified commit
  • uncommit: Uncommit an existing commit
  • amend: Amend an existing commit with new changes
  • squash: Combine two commits into a single new commit
  • move: Reorder commits or move a commit from one branch to another
  • pick: Cherry-pick a commit from an unapplied branch into an applied virtual branch

Operations Log

  • oplog: Show operation history
  • undo: Undo the last operation by reverting to the previous snapshot

Last updated on

On this page

Edit on GitHubGive us feedback