Stage a file, or a single hunk
Local Changes shows what you have changed, split into what is staged and what is not, with the diff beside it.
Try it live
@@ -12,9 +12,12 @@ export default async function PaymentPage() const cart = await getCart(); const address = await savedAddress(cart.customerId);- if (!address) redirect("/checkout");+ if (!address) redirect("/checkout/shipping");++ const methods = await paymentMethods(cart.region); return (- <PaymentForm cart={cart} />+ <PaymentForm cart={cart} address={address} methods={methods} /> );@@ -31,6 +34,7 @@ export const metadata export const metadata = { title: "Payment",+ robots: { index: false }, };Things to try
Click a file to see its diff.
Click Stage hunk above a block of the diff to stage only that part.
Click Stage all, type a message and press Commit staged.
Use the buttons beside the filter to switch between a tree and a flat list.
Unstaged above, staged below
Two lists, the way git thinks about it. Select one file or several and move them across with Stage or Unstage.
One hunk at a time
Click in a block of the diff and stage only that hunk, so one commit holds one idea.
Tree or flat list
See changed files in their folders, or as a plain list of paths, and filter them by name. Each has a mark for modified, added, deleted, renamed or conflicted.
A message that waits
If you start a commit message and close the tab, the window or the app, it is still there when you come back. There is a draft for each worktree.
A menu on every file
Open it, open it with another app, reveal it in Finder, discard its changes, see its history, or copy its path.
Stash
Put your changes aside with a message. Select the stash in the sidebar later to see what is in it and apply it.
Keep exploring
All featuresBranches and remotes
Check out, create, rename, push and pull, from one menu.
Try it liveMerge and rebase
Merge, rebase, cherry-pick and revert, each shown before it runs.
Try it liveWorktrees
Several branches checked out at once, each in its own folder.
Try it liveTerminal
Your shell in the repository's folder, at the bottom of the window.
Try it liveWorkspaces and tabs
Keep each project's repositories together, in tabs you can colour and group.
Try it liveMenu bar panel
What needs you, first. Then your agents, then every workspace.
Try it live