Skip to content

Note in the UI when a user is working in a git worktree #2534

@j7nw4r

Description

@j7nw4r

Summary

The CLI does not indicate when Copilot is working in a git worktree. There is no visible signal in the UI to distinguish a worktree from a standard checkout.

Motivation

A worktree is not distinguishable from a standard checkout in the UI, so the working context is ambiguous when Copilot operates in a worktree.

Proposal

Surface worktree context in the CLI, similar to how the current branch is displayed, when Copilot is working in a worktree.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions