github / github/copilot-cli

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

Open
#2,534 0 comments 0 reactions 0 assignees View on GitHub
area:terminal-rendering
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

## 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.