Qwen Code adds a three-mode git selector to Web Shell session creation
wenshao · ghdev · 2026-07-22
Qwen Code adds a git mode selector to Web Shell session creation
The PR adds a unified git-mode popover to Qwen Code’s Web Shell composer, letting users choose among three session-start workflows:
- Current branch by default
- New branch, which runs git checkout -b <name> with validation and rollback on failure
- Worktree isolation, merged into the same selector UI
The old worktree-only toggle is removed. The chip now shows color-coded state for each mode, including an orange → feat/xxx label for new branches and a reset ✕ button back to current-branch mode.
The author says the goal is to make the three common development workflows available at session creation time, instead of forcing users to manually create a branch or fall back to worktrees.
More from coding & agent
- 'Let an agent run wild on vague goals and it makes your code worse 9 out of 10 times' — eptwts · 2026-10-27
- LangChain to demo the in-house design agent its team uses daily, this Wednesday — LangChain · 2026-10-27
- Biotech Agent Series Day 8: A Notebook Review Agent to Auto-Audit Lab Records — nlarusstone · 2026-10-27
- Photon Launches Agent-to-Agent Messaging in iMessage for Real AI Collaboration — alvelda · 2026-10-27
- Fake-paper meme shows an agent workflow for reverse engineering trading systems into a one-person quant fund — PtrPomorski · 2026-10-27
- Codex clones Linear's core from a one-page spec in 3 minutes 28 seconds — aakashgupta · 2026-10-27