GitWorkbench 1.0.0
The first stable release of GitWorkbench — a native macOS git-changes UI for SwiftUI, shipped as a dependency-free Swift package. You supply the repository data; GitWorkbench renders it and turns user actions back into calls you handle.
Highlights
- Changes — stage / unstage / discard, commit, unified and side-by-side diffs, with live filesystem refresh.
- History — commit graph with refs, per-commit changed files and diffs; single-click any branch to browse its history.
- Stash — apply / pop / drop.
- Resizable columns (persisted via a host-supplied store), customizable light + dark themes (swappable at runtime), and draggable horizontal scrolling for long diff lines.
Packaging
Two libraries:
GitWorkbench— the SwiftUI component and its state store. Zero third-party dependencies.GitWorkbenchGitKit— an optional, ready-made provider backed by the systemgitCLI (via FoundationProcess). A separate target on purpose, so UI-only consumers never pull a git backend.
Requirements
- macOS 15+
- Swift 6 (language mode v6)
Installation
.package(url: "https://github.com/gpambrozio/GitWorkbench.git", from: "1.0.0"),See the README for a quick start, and how it was built.