Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: coder/mux
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: coder/mux
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: workspace-yd9c-hbdi
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 17 files changed
  • 1 contributor

Commits on Dec 13, 2025

  1. 🤖 feat: add 'Open Branch as Workspace' feature

    Two entry points for opening existing branches as workspaces:
    
    1. **Creation Controls UI** - Toggle between 'New branch' and 'Existing branch'
       modes in the workspace creation flow. When in existing branch mode,
       shows a searchable dropdown of local + remote branches.
    
    2. **Command Palette** - 'Open Branch as Workspace...' command (Cmd+Shift+P)
       with a searchable branch selector.
    
    Backend changes:
    - Add listRemoteBranches() to git.ts
    - Update BranchListResult schema to include remoteBranches
    - Fetch remotes before listing branches (best-effort, ensures newly
      pushed PR branches are visible)
    
    This enables the workflow: someone opens a PR on GitHub → you fetch → select
    their branch → experiment with it in an isolated workspace.
    
    Future: GitHub PR integration can layer on top - just needs to resolve
    PR → branch name, then feed into this existing flow.
    
    ---
    _Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking: `high`_
    ThomasK33 committed Dec 13, 2025
    Configuration menu
    Copy the full SHA
    80a8828 View commit details
    Browse the repository at this point in the history
Loading