Skip to main content
~/tools/gitbutler
$ inspect GitButler
repo: https://github.com/gitbutlerapp/gitbutler
language: Rust
status: indexed
$ cat ./gitbutler.md

GitButler

GitButler is a modern Git client that revolutionizes branch management by introducing virtual branches, allowing developers to work on multiple features simultaneously without traditional branch switching. The tool enables users to create, manage, and apply changes across different workstreams in real-time, with the ability to selectively commit hunks to different virtual branches from a single working directory. Key features include intelligent conflict resolution, seamless integration with existing Git workflows, and an intuitive interface that simplifies complex Git operations. GitButler excels in scenarios requiring parallel development, feature experimentation, and collaborative workflows where developers need to context-switch between multiple tasks efficiently. The tool maintains full Git compatibility while providing enhanced productivity through its innovative virtual branch system, making it ideal for teams managing complex codebases and multiple concurrent features.

22,016 stars 1,057 forks Rust Other
gitbutlerapp 1697 Feb 7, 2026
Login with GitHub to like and favorite this CLI tool
$ git release --latest

Latest Releases

All releases

Changes
  • Linux: GitButler is now on [Flathub](https://flathub.org/apps/com.gitbutler.gitbutler) as an official, verified package, with the native app included
Fixes
  • Windows: A second amend, reword or move into the same commit no longer fails with "Failed to find commit … in rebase editor" (a regression from 0.23.3)
  • Windows: Committed symlinks now work on Linux and macOS
  • GitHub: Pushing the rest of a stack after several of its branches merge together no longer fails with "There are no new commits between base branch …"
  • Deleting your last applied branch no longer detaches HEAD when main has moved on, which blocked Update and but pull
  • Loading a large project far behind its upstream no longer takes gigabytes of memory
CLI
  • Adds but worktree recycle, which reuses a clean archived worktree for a new branch and keeps its build output and dependencies
Native app Highlights from the native app. New installs open it by default; everyone else can turn it on (or off) under "Experimental" in settings:
  • You can now pick separate themes for light and dark mode
  • The app reopens where you left off after an update, quit or crash
  • "Open on GitHub" (or GitLab, Bitbucket, Azure) opens the repository in your browser
  • Dragging a branch between two stacks makes it a stack of its own
  • The navigator now shows each branch's commits by default
  • Branches with an open pull request no longer offer a local "Merge into …"
  • Common errors now explain the fix instead of showing raw Git output
  • Light mode is brighter, and controls match the rest of GitButler's design
  • Windows: Chinese, Japanese and Korean text no longer shows as boxes
  • Repositories with thousands of open pull requests no longer keep the CPU busy
Full Changelog: https://github.com/gitbutlerapp/gitbutler/compare/release/0.23.4...release/0.23.5 Downloads Download bins from https://gitbutler.com/

Changes
  • Repositories using Git LFS or git-crypt no longer get a warning to avoid GitButler; it now only covers editing and resolving commits
Fixes
  • Linux: .deb and .rpm installs now send you to the downloads page to update instead of failing
  • GitHub: Auto-merge now works in repositories that only allow squash or rebase merges
  • Fixes AI requests failing with 401 Unauthorized when using Anthropic with GitButler's key
CLI
  • but apply, but squash, but show and but pr now suggest a next step when they refuse
Native app Highlights from the native app. New installs now open it by default; everyone else can turn it on (or off) under "Experimental" in settings:
  • The Graph tab now shows a commit's diff, with keyboard navigation and right-click actions
  • "New terminal with…" (⌘I) opens a terminal running a command you pick, e.g. claude or codex
  • Appearance settings now let you pick a preset, accent color, corner style and density
  • Files and hunks in a branch's diff now support the same actions as in a commit's diff
  • Adds "Recycle worktree" to reuse a clean archived worktree instead of creating a new one
  • Stacks now sit under a caption that folds them and can push, merge or unapply the whole stack
  • ⇧⌘P now opens the command palette instead of the Create pull request form
  • A plain git commit on gitbutler/workspace no longer breaks the project; the app now offers to uncommit it and keep the changes
  • Projects whose folder was deleted or moved now say so and can be removed from Settings
Full Changelog: https://github.com/gitbutlerapp/gitbutler/compare/release/0.23.3...release/0.23.4 Downloads Download bins from https://gitbutler.com/

Changes
  • Updating the workspace now updates linked worktrees too
  • Operations that update linked worktrees now preserve conflicting uncommitted changes with conflict markers
Fixes
  • Repositories owned by another user now explain how to allow access with safe.directory
  • Fixes branch apply, unapply and update operations writing encrypted files or Git LFS pointers instead of usable file contents in git-crypt and Git LFS repositories
  • Fixes unnecessary conflicts and incorrect file contents when combining branches based on different target commits
  • Fixes updating the workspace leaving local branches behind after they were merged
  • Fixes failed checkouts leaving files partly written or losing uncommitted edits
  • Fixes project loading failing when another process deletes an untracked file while changes are being read
CLI
  • but commit, but amend, but discard and but diff now accept Git-style paths, including relative and absolute paths, directories and .
  • but undo now refuses operations it cannot safely reverse on branches checked out in linked worktrees
  • but now gives clearer errors and recovery steps for repository, branch, worktree, push, merge, undo and forge authentication problems, and suggests alternatives to unsupported commands
  • but push --dry-run now reports branches that cannot be pushed, including branches containing conflicted commits, and exits non-zero if any are refused
  • but reword now reads commit messages or branch names from a file or stdin with -F
  • but amend now defaults to the latest commit when the target branch is unambiguous
  • but amend now refuses when there are no changes to amend
  • but diff now accepts several file targets
  • but diff and but show now support --stat for changed-file and line counts
  • but pr new now accepts messages with blank lines before the title
  • but amend -t and but squash -t now accept branches checked out in linked worktrees
  • but worktree new, but worktree remove and but branch delete now handle worktree directories deleted outside GitButler
  • but commit runs Git commit hooks again in the main checkout; -n/--no-hooks or --no-verify skips them (linked-worktree commits still skip hooks)
  • but pull now removes stale remote-tracking branches after updating
  • but now reports linked worktrees whose uncommitted changes gained conflict markers
  • Fixes but uncommit being blocked by unrelated conflicted commits
  • Fixes but resolve conflicts <commit> suggesting a resolution command for the wrong commit
  • Fixes but diff reporting clean files as missing
  • Fixes amending an empty branch rewriting the commit below it
  • Fixes but resolve overlooking conflicted commits in linked worktrees
  • Fixes but failing to open repositories beneath a previously registered project whose .git directory was removed
  • Fixes but pull leaving local branches behind after they were merged
Native app Highlights from the native app, available under "Experimental" in settings:
  • Adds split panes for pages and terminals, with drag-and-drop arrangement, keyboard navigation and saved page positions
  • The navigator can now appear as tabs across the top of the window, with drag-and-drop ordering for projects and worktrees
  • Adds a command editor for customizing keyboard shortcuts and finding commands by pressing their keys
  • Adds but://open links to projects, branches, commits, uncommitted changes, files and lines, tabs and settings
  • Files in the working tree can now be edited directly in the diff, including tracked files with no changes
  • Committing changes with dependencies now offers to stack the required branches instead of creating a partial commit
  • Adds an option to archive or delete clean worktrees after an update finds their branches merged
New Contributors
  • @bjoaquinc made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/17018
Full Changelog: https://github.com/gitbutlerapp/gitbutler/compare/release/0.23.2...release/0.23.3 Downloads Download bins from https://gitbutler.com/

##Fixes
  • Fixes commits and amendments disturbing staged files or hiding later file edits
  • Fixes problems caused by missing target-branch tracking: older projects failing to open, missing pull request details and skipped remote updates
  • Fixes the app not refreshing after external worktree changes and showing errors for worktrees removed outside the app
  • Fixes merged pull requests disappearing from worktree branches after updating the workspace
  • Fixes undo leaving newly created branches behind or failing to restore deleted branches after Git garbage collection
  • GitLab: Fixes merge request listing on older instances and authentication with server URLs ending in /api/v4/
  • Bitbucket: Fixes pull request creation and browser links for remotes using ssh.bitbucket.org
  • Creating an independent branch from the target now checks it out without unnecessarily switching to the workspace
  • Fixes unstacking failures with linked worktrees and branches disappearing from the native app when unstacked
CLI
  • but agent setup now supports Amp; but agent uninstall removes GitButler skills and instructions from coding agents
  • Claude desktop agents can now enable Auto-fix for pull requests created with but pr new in workspace mode
  • but worktree new --above now accepts branch names, IDs and Git revisions; worktree removal and archive commands also accept checkout paths
  • but commit -b can now create a branch and commit from a detached linked worktree
  • Running but inside an archived linked worktree now unarchives it automatically
  • but branch delete now handles branches outside the workspace and protects branches checked out in linked worktrees
  • but resolve gains clearer recovery hints, stdin input with apply -F - and checks for leftover conflict markers; resolved branches now return success
  • but diff now accepts committed hunk IDs and reports file statuses correctly in JSON output
  • but branch show --ai now uses the configured AI model
  • but pull avoids unnecessary worktree updates, and --update worktrees leaves the main checkout unchanged
  • but config target origin/main now creates the local tracking branch when needed
  • but open is removed; use but gui or but .. Retired but branch new --anchor now points to --above in its error hint
Experimental Highlights from the native app, available in the settings under "experimental":
  • Adds integrated terminals for each checkout, with agent status indicators and drag-and-drop support
  • Adds a commit graph showing the workspace, linked worktrees and target history
  • Adds a TUI-style keyboard layout and modes for moving, committing and squashing changes; custom bindings are no longer available in the native app
  • Adds worktree creation, reordering and updates, plus configurable inactivity grouping (two days by default)
  • Adds in-app pull request editing, auto-merge on creation and clearer CI checks
  • Improved commit and diff editing, with inline rewording, single-file diffs and copying files or hunks as Git patches
New Contributors
  • @kunalgoesbyken made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16485
  • @RoooyHe made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16705
  • @definitelynotguru made their first contribution in https://github.com/gitbutlerapp/gitbutler/pull/16745
Full Changelog: https://github.com/gitbutlerapp/gitbutler/compare/release/0.23.1...release/0.23.2 Downloads Download bins from https://gitbutler.com/

Fixes
  • Fixes projects failing to load after choosing gitbutler/workspace as the target branch (a regression from 0.23.0)
  • Fixes pushes failing when the target branch has no upstream and the pushed branches have no open pull requests (a regression from 0.23.0)
  • Fixes phantom uncommitted changes after staging, renaming or deleting files outside GitButler
  • Discarding a file deletion now restores its committed content, even if a different version was staged
  • Fixes upstream merge commits showing the wrong pull request title and link
  • Fixes worktree removal incorrectly showing a "Worktree … does not exist" error
  • Fixes the target branch picker failing with "Expected object of kind commit but got tree" when a remote ref points to a tree
CLI
  • but pr new now lets Claude desktop enable Auto-fix for pull requests opened from their checked-out branch
  • but apply --json no longer includes the workspaceRefCreated field
  • but push <branch> --dry-run now lists every branch that will be pushed, including branches beneath it in the stack
  • but branch no longer lists the checked-out branch twice after unapplying down to one branch
  • but apply no longer reports an already-applied branch as newly applied
  • but commit -b errors in linked worktrees now suggest omitting -b to commit on the worktree's own branch
Experimental
  • A new native version of the app is now available under “experimental” in settings.
Full Changelog: https://github.com/gitbutlerapp/gitbutler/compare/release/0.23.0...release/0.23.1 Downloads Download bins from https://gitbutler.com/

Installation

curl -fsSL https://gitbutler.com/install.sh | sh
$ tail ./comments.log

Comments (1)

Login with GitHub to post a comment
VladoIvankovic
$ user VladoIvankovic
Top