- 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
- 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