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
- Gergely Orosz: Shipping 10x PRs With AI Agents, Sites Fill With Small Regressions — ducha_aiki · 2026-09-11
- Same Echo Maze prompt, three frontier models: all passed visually but shipped the same hidden bug — eyishazyer · 2026-09-11
- Astra storyboards plus Minimax H3 per-shot generation boost video success rates — Hailuo_AI · 2026-09-11
- Codex tip: use Sol with Astra and Luna sub-agents to save usage — pvncher · 2026-09-11
- agents-best-practices: a provider-neutral Agent Skill for designing and auditing agentic harnesses — tom_doerr · 2026-09-11
- Cognition's SWE-2 uses a KKT duality argument in RL to shift the effort Pareto curve — YouJiacheng · 2026-09-11