{"slug": "zed-1-8-git-graph-commands-fast-mode-and-worktree-flows", "title": "Zed 1.8: Git Graph Commands, Fast Mode, and Worktree Flows", "summary": "Zed 1.8.0 shipped June 17 with a custom command context menu on the git graph, cleaner worktree-thread integration, a fast mode toggle for Anthropic and OpenAI models, and a setting to enforce team commit message conventions. The update closes gaps in git UX and improves agent workflows without a headline feature.", "body_md": "Zed 1.8.0 shipped June 17 — a focused release that doesn’t try to be a landmark but tightens the gaps developers actually complain about. The update ships a custom command context menu on the git graph, cleaner worktree-thread integration for parallel agent setups, a fast mode toggle for Anthropic and OpenAI models, and a long-overdue way to enforce your team’s commit message conventions. No headline-grabbing feature. Just the editor getting better at what it already does well.\n\n## The Git Graph Context Menu\n\nThis is the headline feature, even if Zed didn’t frame it that way. Developers have been dropping to the terminal for operations that require specifying a branch by name — cherry-picks, rebases, targeted diffs — because the visual git graph had no way to act on what it showed you. 1.8 fixes that with a right-click context menu on any branch, remote ref, or tag in the graph.\n\nThe target ref is injected as `$ZED_GIT_REF`\n\n, so your custom commands can reference it directly:\n\n```\n# Cherry-pick the selected branch's tip\ngit cherry-pick $ZED_GIT_REF\n\n# Rebase current branch onto what you clicked\ngit rebase $ZED_GIT_REF\n\n# Diff against the selected ref\ngit diff main..$ZED_GIT_REF\n```\n\nDefine these once and they’re available on every right-click. For developers who’ve been keeping Zed open and a terminal nearby for branch operations, that context switch just disappeared. This is what VS Code users building on GitLens have had for years — and the gap in Zed’s git UX has been a legitimate friction point. 1.8 closes it.\n\n## Worktree UX: First-Class Now\n\nZed’s [parallel agents feature](https://zed.dev/docs/ai/parallel-agents) (launched in April) runs agent threads in isolated git worktrees so multiple agents can work the same repository without stepping on each other. The concept was right; the setup was clunky. 1.8 fixes the ergonomics.\n\nThe most useful change: you can now create a new worktree directly from the sidebar’s new-thread button, rather than setting one up separately before attaching it. When a project has multiple open worktrees, the agent thread picker lets you choose which one to attach to. And you can remove a worktree from the current window without navigating away.\n\nThere’s also a new `agent.terminal_init_command`\n\nsetting that auto-runs a setup script when an agent opens a new terminal thread. Pair this with worktree creation for fully scripted agent environments — your agent gets a clean branch, runs your setup, and starts working without you managing any of it manually.\n\n## Fast Mode: Turn It On, Turn It Off\n\nZed’s agent panel now has a fast mode toggle for Anthropic and OpenAI models. On the Anthropic side, this activates priority processing; for OpenAI, it’s their premium service tier. Both deliver lower latency at a higher per-token cost.\n\nThe practical guidance is simple: use fast mode when you’re interacting with the agent in real time — inline edits, quick fixes, active back-and-forth — and leave it off for long-running background tasks. A background agent rewriting your test suite doesn’t need to respond in under a second. You, mid-coding-flow, do. The toggle exists for exactly that distinction.\n\n## Enforce Commit Message Conventions\n\nAI-generated commit messages have been one of the persistent rough edges of editor-integrated AI: useful enough to use, inconsistent enough to be annoying. The new `agent.commit_message_instructions`\n\nsetting lets you inject any instructions into the AI’s commit message prompt. Add it to your project’s `.zed/settings.json`\n\n:\n\n```\n{\n  \"agent\": {\n    \"commit_message_instructions\": \"Use Conventional Commits format: <type>(<scope>): <description>. Keep subject line under 72 characters.\"\n  }\n}\n```\n\nEvery AI-generated commit in that repository now follows your team’s conventions. It’s a small change with an outsized effect on commit history cleanliness — especially for teams using semantic versioning tools that parse commit messages. See the [full agent settings documentation](https://zed.dev/docs/ai/agent-settings) for the complete list of customization options.\n\n## The Rest of the Update\n\nTwo more improvements worth noting. First, `editor: select inside delimiters`\n\nand `editor: select around delimiters`\n\n— new actions that expand a selection to the content (or content plus brackets) of the nearest enclosing pair, with repeated invocations jumping to the next outer pair. Vim users who’ve been missing `ci(`\n\nand `ca(`\n\nwill recognize this immediately.\n\nSecond, scrolling and rendering performance in diff views improved, with specific attention to large diffs containing merge conflicts. If you’re doing any volume of AI-assisted code review, this matters — agents generate large changesets, and a sluggish diff view makes reviewing them worse than it needs to be.\n\nZed 1.8 isn’t the release you build a keynote around. But the git graph context menu, the first-class worktree integration for agent threads, and the commit message customization all improve how the editor feels day to day. If you’ve been on 1.7, this is a straightforward update. The full changelog is at [zed.dev/releases/stable](https://zed.dev/releases/stable), and the git integration details are in [Zed’s git documentation](https://zed.dev/docs/git).", "url": "https://wpnews.pro/news/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows", "canonical_source": "https://byteiota.com/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows/", "published_at": "2026-06-20 08:19:41+00:00", "updated_at": "2026-06-20 08:41:55.547746+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["Zed", "Anthropic", "OpenAI", "GitLens", "VS Code"], "alternates": {"html": "https://wpnews.pro/news/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows", "markdown": "https://wpnews.pro/news/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows.md", "text": "https://wpnews.pro/news/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows.txt", "jsonld": "https://wpnews.pro/news/zed-1-8-git-graph-commands-fast-mode-and-worktree-flows.jsonld"}}